@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,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/legacy/components/primitive-textfield";
|
|
7
|
-
import * as i6 from "@taiga-ui/legacy/directives";
|
|
8
|
-
import * as i7 from "@taiga-ui/polymorpheus";
|
|
9
|
-
import * as i8 from "@taiga-ui/core/components/button";
|
|
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.TuiPrimitiveTextfieldModule, typeof i6.TuiTextfieldControllerModule, typeof i6.TuiValueAccessorModule, typeof i7.PolymorpheusOutlet, typeof i7.PolymorpheusTemplate, typeof i8.TuiButton], [typeof i1.TuiInputNumberComponent, typeof i2.TuiInputNumberDirective, typeof i5.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;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
2
|
-
import { type TuiKeySteps } from '@taiga-ui/kit/components/slider';
|
|
3
|
-
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
4
|
-
import { type TuiFocusableElementAccessor, type TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens';
|
|
5
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* TODO(v5): delete it
|
|
9
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-range TuiInputRange} (from @taiga-ui/kit) instead
|
|
10
|
-
*/
|
|
11
|
-
export declare class TuiInputRangeComponent extends AbstractTuiControl<[number, number]> implements TuiFocusableElementAccessor {
|
|
12
|
-
private readonly inputNumberRefs;
|
|
13
|
-
private readonly range?;
|
|
14
|
-
private readonly isMobile;
|
|
15
|
-
private readonly el;
|
|
16
|
-
protected leftTextfieldValue: number;
|
|
17
|
-
protected rightTextfieldValue: number;
|
|
18
|
-
protected lastActiveSide: 'left' | 'right';
|
|
19
|
-
protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
|
|
20
|
-
min: number;
|
|
21
|
-
max: number;
|
|
22
|
-
quantum: number;
|
|
23
|
-
steps: number;
|
|
24
|
-
segments: number;
|
|
25
|
-
keySteps: TuiKeySteps | null;
|
|
26
|
-
leftValueContent: PolymorpheusContent<TuiContext<number>>;
|
|
27
|
-
rightValueContent: PolymorpheusContent<TuiContext<number>>;
|
|
28
|
-
pluralize: Record<string, string> | null;
|
|
29
|
-
get nativeFocusableElement(): TuiNativeFocusableElement | null;
|
|
30
|
-
get focused(): boolean;
|
|
31
|
-
writeValue(value: [number, number]): void;
|
|
32
|
-
protected get leftFocusableElement(): HTMLInputElement | null;
|
|
33
|
-
protected get rightFocusableElement(): HTMLInputElement | null;
|
|
34
|
-
protected get appearance(): string;
|
|
35
|
-
protected get showLeftValueContent(): boolean;
|
|
36
|
-
protected get showRightValueContent(): boolean;
|
|
37
|
-
protected get precision(): number;
|
|
38
|
-
protected get computedSteps(): number;
|
|
39
|
-
protected get step(): number;
|
|
40
|
-
protected computeKeySteps(keySteps: TuiKeySteps | null, min: number, max: number): TuiKeySteps;
|
|
41
|
-
protected onActiveZone(active: boolean): void;
|
|
42
|
-
protected onTextInputFocused(focused: boolean): void;
|
|
43
|
-
protected changeByStep(event: Event | KeyboardEvent, [leftCoefficient, rightCoefficient]: [number, number]): void;
|
|
44
|
-
protected onInputLeft(value: number | null): void;
|
|
45
|
-
protected onInputRight(value: number | null): void;
|
|
46
|
-
protected onExternalValueUpdate(value: [number, number]): void;
|
|
47
|
-
protected focusToTextInput(): void;
|
|
48
|
-
protected onActiveThumbChange(activeThumb: 'left' | 'right'): void;
|
|
49
|
-
protected getFallbackValue(): [number, number];
|
|
50
|
-
private safelyUpdateValue;
|
|
51
|
-
private valueGuard;
|
|
52
|
-
private calibrate;
|
|
53
|
-
private updateTextfieldValues;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputRangeComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputRangeComponent, "tui-input-range", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "quantum": { "alias": "quantum"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "keySteps": { "alias": "keySteps"; "required": false; }; "leftValueContent": { "alias": "leftValueContent"; "required": false; }; "rightValueContent": { "alias": "rightValueContent"; "required": false; }; "pluralize": { "alias": "pluralize"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
56
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input-range.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "@taiga-ui/polymorpheus";
|
|
6
|
-
import * as i5 from "@taiga-ui/cdk/directives/active-zone";
|
|
7
|
-
import * as i6 from "@taiga-ui/legacy/components/input-number";
|
|
8
|
-
import * as i7 from "@taiga-ui/kit/components/range";
|
|
9
|
-
import * as i8 from "@taiga-ui/legacy/directives";
|
|
10
|
-
import * as i9 from "@taiga-ui/core/directives/number-format";
|
|
11
|
-
/**
|
|
12
|
-
* TODO(v5): delete it
|
|
13
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-range TuiInputRange} (from @taiga-ui/kit) instead
|
|
14
|
-
*/
|
|
15
|
-
export declare class TuiInputRangeModule {
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputRangeModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputRangeModule, [typeof i1.TuiInputRangeComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiActiveZone, typeof i6.TuiInputNumberModule, typeof i7.TuiRange, typeof i8.TuiWrapperModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiNumberFormat], [typeof i1.TuiInputRangeComponent]>;
|
|
18
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputRangeModule>;
|
|
19
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
2
|
-
import { type TuiKeySteps } from '@taiga-ui/kit/components/slider';
|
|
3
|
-
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
4
|
-
import { type TuiFocusableElementAccessor, type TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens';
|
|
5
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* TODO(v5): delete it
|
|
9
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-slider TuiInputSlider} (from @taiga-ui/kit) instead
|
|
10
|
-
*/
|
|
11
|
-
export declare class TuiInputSliderComponent extends AbstractTuiControl<number> implements TuiFocusableElementAccessor {
|
|
12
|
-
private readonly inputNumberRef?;
|
|
13
|
-
private readonly sliderRef?;
|
|
14
|
-
protected textfieldValue: number;
|
|
15
|
-
protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
|
|
16
|
-
min: number;
|
|
17
|
-
max: number;
|
|
18
|
-
quantum: number;
|
|
19
|
-
steps: number;
|
|
20
|
-
segments: number[] | number;
|
|
21
|
-
keySteps: TuiKeySteps | null;
|
|
22
|
-
valueContent: PolymorpheusContent<TuiContext<number>>;
|
|
23
|
-
get nativeFocusableElement(): TuiNativeFocusableElement | null;
|
|
24
|
-
get focused(): boolean;
|
|
25
|
-
writeValue(value: number | null): void;
|
|
26
|
-
protected get prefix(): string;
|
|
27
|
-
protected get postfix(): string;
|
|
28
|
-
protected get computedSteps(): number;
|
|
29
|
-
protected get precision(): number;
|
|
30
|
-
protected get showValueContent(): boolean;
|
|
31
|
-
protected get step(): number;
|
|
32
|
-
protected computeKeySteps(keySteps: TuiKeySteps | null, min: number, max: number): TuiKeySteps;
|
|
33
|
-
protected focusTextInput(): void;
|
|
34
|
-
protected safelyUpdateValue(value: number | null): void;
|
|
35
|
-
protected onVerticalArrowKeyDown(coefficient: number): void;
|
|
36
|
-
protected onSliderChange(newValue: number): void;
|
|
37
|
-
protected onFocused(focused: boolean): void;
|
|
38
|
-
protected getFallbackValue(): number;
|
|
39
|
-
private valueGuard;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputSliderComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputSliderComponent, "tui-input-slider", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "quantum": { "alias": "quantum"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "keySteps": { "alias": "keySteps"; "required": false; }; "valueContent": { "alias": "valueContent"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
42
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input-slider.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "@taiga-ui/polymorpheus";
|
|
6
|
-
import * as i5 from "@taiga-ui/legacy/components/input-number";
|
|
7
|
-
import * as i6 from "@taiga-ui/core/directives/number-format";
|
|
8
|
-
import * as i7 from "@taiga-ui/legacy/directives";
|
|
9
|
-
import * as i8 from "@taiga-ui/kit/components/slider";
|
|
10
|
-
/**
|
|
11
|
-
* TODO(v5): delete it
|
|
12
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-slider TuiInputSlider} (from @taiga-ui/kit) instead
|
|
13
|
-
*/
|
|
14
|
-
export declare class TuiInputSliderModule {
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputSliderModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputSliderModule, [typeof i1.TuiInputSliderComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiInputNumberModule, typeof i6.TuiNumberFormat, typeof i7.TuiTextfieldControllerModule, typeof i8.TuiSliderComponent, typeof i8.TuiSliderThumbLabel, typeof i8.TuiSliderKeyStepsBase, typeof i8.TuiSliderKeySteps, typeof i8.TuiSliderReadonly], [typeof i1.TuiInputSliderComponent, typeof i8.TuiSliderComponent, typeof i8.TuiSliderThumbLabel, typeof i8.TuiSliderKeyStepsBase, typeof i8.TuiSliderKeySteps, typeof i8.TuiSliderReadonly]>;
|
|
17
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputSliderModule>;
|
|
18
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
|
|
3
|
-
import { type TuiBooleanHandler, type TuiContext } from '@taiga-ui/cdk/types';
|
|
4
|
-
import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
|
|
5
|
-
import { TuiHintOptionsDirective } from '@taiga-ui/core/directives/hint';
|
|
6
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
7
|
-
import { AbstractTuiMultipleControl, type TuiStringifiableItem } from '@taiga-ui/legacy/classes';
|
|
8
|
-
import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
9
|
-
import { type TuiStatus } from '@taiga-ui/legacy/utils';
|
|
10
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "@taiga-ui/core/directives/dropdown";
|
|
13
|
-
/**
|
|
14
|
-
* TODO(v5): delete it
|
|
15
|
-
* @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
|
|
16
|
-
*/
|
|
17
|
-
export declare class TuiInputTagComponent extends AbstractTuiMultipleControl<string> implements TuiFocusableElementAccessor, TuiDataListHost<string> {
|
|
18
|
-
private readonly dropdown?;
|
|
19
|
-
private readonly focusableElement?;
|
|
20
|
-
private readonly tagsContainer?;
|
|
21
|
-
private readonly tags;
|
|
22
|
-
private readonly cleanerSvg?;
|
|
23
|
-
private readonly scrollBar?;
|
|
24
|
-
private readonly el;
|
|
25
|
-
private readonly options;
|
|
26
|
-
protected readonly datalist?: TemplateRef<TuiContext<TuiActiveZone>>;
|
|
27
|
-
protected readonly valueContent?: unknown;
|
|
28
|
-
protected readonly errorIconTemplate?: TemplateRef<Record<string, unknown>>;
|
|
29
|
-
protected readonly textfieldOptions: import("@taiga-ui/core/components/textfield").TuiTextfieldOptions;
|
|
30
|
-
protected readonly hintOptions: TuiHintOptionsDirective | null;
|
|
31
|
-
protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
|
|
32
|
-
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
33
|
-
protected status: TuiStatus;
|
|
34
|
-
protected open: boolean;
|
|
35
|
-
separator: RegExp | string;
|
|
36
|
-
search: string | null;
|
|
37
|
-
editable: boolean;
|
|
38
|
-
tagValidator: TuiBooleanHandler<string> | TuiBooleanHandler<TuiStringifiableItem<unknown> | string>;
|
|
39
|
-
rows: number;
|
|
40
|
-
inputHidden: boolean;
|
|
41
|
-
uniqueTags: boolean;
|
|
42
|
-
autoColor: boolean;
|
|
43
|
-
maxLength: number | null;
|
|
44
|
-
placeholder: string;
|
|
45
|
-
removable: boolean;
|
|
46
|
-
disabledItemHandler: TuiBooleanHandler<TuiStringifiableItem<any> | string>;
|
|
47
|
-
readonly searchChange: EventEmitter<string>;
|
|
48
|
-
pseudoOpen: import("@angular/core").WritableSignal<boolean>;
|
|
49
|
-
set pseudoFocusedSetter(value: boolean | null);
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated hack
|
|
52
|
-
*/
|
|
53
|
-
set setPseudoOpen(value: boolean);
|
|
54
|
-
get labelOutside(): boolean;
|
|
55
|
-
get size(): TuiSizeL | TuiSizeS;
|
|
56
|
-
get nativeFocusableElement(): HTMLInputElement | null;
|
|
57
|
-
get hasValue(): boolean;
|
|
58
|
-
get hasExampleText(): boolean;
|
|
59
|
-
get hasPlaceholder(): boolean;
|
|
60
|
-
get focused(): boolean;
|
|
61
|
-
get tagsEmpty(): boolean;
|
|
62
|
-
onTagEdited(value: string, index: number): void;
|
|
63
|
-
handleOption(item: string): void;
|
|
64
|
-
setDisabledState(): void;
|
|
65
|
-
protected get iconStart(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
66
|
-
protected get appearance(): string;
|
|
67
|
-
protected get expandable(): boolean;
|
|
68
|
-
protected get icon(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
69
|
-
protected get iconCleaner(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
70
|
-
protected get hasCleaner(): boolean;
|
|
71
|
-
protected get hasNativeValue(): boolean;
|
|
72
|
-
protected get placeholderRaised(): boolean;
|
|
73
|
-
protected get hasRightIcons(): boolean;
|
|
74
|
-
protected get showHint(): boolean;
|
|
75
|
-
protected get canOpen(): boolean;
|
|
76
|
-
protected get computeMaxHeight(): number | null;
|
|
77
|
-
protected onFocusInOut(): void;
|
|
78
|
-
protected detectRetargetFromLabel(event: Event): void;
|
|
79
|
-
protected getLeftContent(tag: string): PolymorpheusContent;
|
|
80
|
-
protected onCleanerClick(): void;
|
|
81
|
-
protected onActiveZone(active: boolean): void;
|
|
82
|
-
protected onMouseDown(event: MouseEvent): void;
|
|
83
|
-
protected onFieldKeyDownBackspace(event: Event): void;
|
|
84
|
-
protected onFieldKeyDownArrowLeft(event: Event): void;
|
|
85
|
-
protected onFieldKeyDownEnter(): void;
|
|
86
|
-
protected onTagKeyDownArrowLeft(currentIndex: number): void;
|
|
87
|
-
protected onTagKeyDownArrowRight(currentIndex: number): void;
|
|
88
|
-
protected onInput(value: string): void;
|
|
89
|
-
protected onPaste(event: Event): void;
|
|
90
|
-
protected onDrop({ dataTransfer }: DragEvent): void;
|
|
91
|
-
protected trackByFn(_: number, tag: string): string;
|
|
92
|
-
private get lineHeight();
|
|
93
|
-
private scrollTo;
|
|
94
|
-
private filterValue;
|
|
95
|
-
private onScrollKeyDown;
|
|
96
|
-
private updateSearch;
|
|
97
|
-
private addTag;
|
|
98
|
-
private deleteLastEnabledItem;
|
|
99
|
-
private focusInput;
|
|
100
|
-
private clippedValue;
|
|
101
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTagComponent, never>;
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputTagComponent, "tui-input-tag", never, { "separator": { "alias": "separator"; "required": false; }; "search": { "alias": "search"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "tagValidator": { "alias": "tagValidator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "inputHidden": { "alias": "inputHidden"; "required": false; }; "uniqueTags": { "alias": "uniqueTags"; "required": false; }; "autoColor": { "alias": "autoColor"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "pseudoFocusedSetter": { "alias": "pseudoFocused"; "required": false; }; "setPseudoOpen": { "alias": "pseudoOpen"; "required": false; }; }, { "searchChange": "searchChange"; }, ["datalist", "valueContent"], ["*", "tuiContent", "select"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
|
|
103
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input-tag.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "@taiga-ui/polymorpheus";
|
|
6
|
-
import * as i5 from "@taiga-ui/cdk/directives/hovered";
|
|
7
|
-
import * as i6 from "@taiga-ui/core/components/scrollbar";
|
|
8
|
-
import * as i7 from "@taiga-ui/legacy/components/tooltip";
|
|
9
|
-
import * as i8 from "@taiga-ui/legacy/components/tag";
|
|
10
|
-
import * as i9 from "@taiga-ui/legacy/directives";
|
|
11
|
-
import * as i10 from "@taiga-ui/core/directives/appearance";
|
|
12
|
-
import * as i11 from "@taiga-ui/core/components/icon";
|
|
13
|
-
import * as i12 from "@taiga-ui/core/directives/dropdown";
|
|
14
|
-
/**
|
|
15
|
-
* TODO(v5): delete it
|
|
16
|
-
* @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
|
|
17
|
-
*/
|
|
18
|
-
export declare class TuiInputTagModule {
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTagModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputTagModule, [typeof i1.TuiInputTagComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiHovered, typeof i6.TuiScrollbar, typeof i7.TuiTooltipModule, typeof i8.TuiTagModule, typeof i9.TuiWrapperModule, typeof i9.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiAppearance, typeof i11.TuiIcon, 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.TuiInputTagComponent, 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<TuiInputTagModule>;
|
|
22
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
-
import { type TuiStatus } from '@taiga-ui/legacy/utils';
|
|
3
|
-
/**
|
|
4
|
-
* TODO(v5): delete it
|
|
5
|
-
* @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
|
|
6
|
-
*/
|
|
7
|
-
export interface TuiInputTagOptions {
|
|
8
|
-
readonly autoColor: boolean;
|
|
9
|
-
readonly separator: RegExp | string;
|
|
10
|
-
readonly tagStatus: TuiStatus;
|
|
11
|
-
readonly uniqueTags: boolean;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* TODO(v5): delete it
|
|
15
|
-
* @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
|
|
16
|
-
*/
|
|
17
|
-
export declare const TUI_INPUT_TAG_DEFAULT_OPTIONS: TuiInputTagOptions;
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated: drop in v5.0
|
|
20
|
-
* Default parameters for InputTag component
|
|
21
|
-
*/
|
|
22
|
-
export declare const TUI_INPUT_TAG_OPTIONS: InjectionToken<TuiInputTagOptions>;
|
|
23
|
-
/**
|
|
24
|
-
* TODO(v5): delete it
|
|
25
|
-
* @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
|
|
26
|
-
*/
|
|
27
|
-
export declare function tuiInputTagOptionsProvider(options: Partial<TuiInputTagOptions>): Provider;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TuiHideSelectedPipe implements PipeTransform {
|
|
4
|
-
private readonly component;
|
|
5
|
-
transform<T>(items: readonly T[] | null): readonly T[] | null;
|
|
6
|
-
transform<T>(items: ReadonlyArray<readonly T[]> | null): ReadonlyArray<readonly T[]> | null;
|
|
7
|
-
private filter2d;
|
|
8
|
-
private filter;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHideSelectedPipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TuiHideSelectedPipe, "tuiHideSelected", false>;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './hide-selected.pipe';
|
|
2
|
-
export * from './multi-select.component';
|
|
3
|
-
export * from './multi-select.directive';
|
|
4
|
-
export * from './multi-select.module';
|
|
5
|
-
export * from './multi-select.options';
|
|
6
|
-
export * from './multi-select-group/multi-select-group.component';
|
|
7
|
-
export * from './multi-select-group/multi-select-group.directive';
|
|
8
|
-
export * from './native-multi-select/native-multi-select';
|
|
9
|
-
export * from './native-multi-select/native-multi-select.component';
|
|
10
|
-
export * from './native-multi-select/native-multi-select-group.component';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { type Observable } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TuiMultiSelectGroupComponent<T> {
|
|
4
|
-
private readonly options;
|
|
5
|
-
private readonly host;
|
|
6
|
-
private readonly control;
|
|
7
|
-
protected readonly multiSelectTexts$: Observable<{
|
|
8
|
-
all: string;
|
|
9
|
-
none: string;
|
|
10
|
-
}>;
|
|
11
|
-
label: string;
|
|
12
|
-
protected get empty$(): Observable<boolean>;
|
|
13
|
-
protected get disabled$(): Observable<boolean>;
|
|
14
|
-
protected get value$(): Observable<boolean | null>;
|
|
15
|
-
protected onClick(checked: boolean | null): void;
|
|
16
|
-
private get items$();
|
|
17
|
-
private get valueChanges$();
|
|
18
|
-
private get values();
|
|
19
|
-
private get matcher();
|
|
20
|
-
private filter;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectGroupComponent<any>, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiMultiSelectGroupComponent<any>, "tui-opt-group[tuiMultiSelectGroup]", never, { "label": { "alias": "label"; "required": false; }; }, {}, ["options"], ["*"], false, never>;
|
|
23
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TuiMultiSelectOptionComponent } from '@taiga-ui/legacy/components/multi-select-option';
|
|
2
|
-
import { PolymorpheusComponent } from '@taiga-ui/polymorpheus';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const TUI_MULTI_SELECT_OPTION: PolymorpheusComponent<TuiMultiSelectOptionComponent<any[]>>;
|
|
5
|
-
export declare class TuiMultiSelectGroupDirective {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectGroupDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiMultiSelectGroupDirective, "[tuiMultiSelectGroup]", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
|
|
3
|
-
import { type TuiBooleanHandler, type TuiContext, type TuiMapper, type TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
4
|
-
import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
|
|
5
|
-
import { type TuiSizeL, type TuiSizeM, type TuiSizeS } from '@taiga-ui/core/types';
|
|
6
|
-
import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
|
|
7
|
-
import { AbstractTuiMultipleControl, TuiStringifiableItem } from '@taiga-ui/legacy/classes';
|
|
8
|
-
import { TuiInputTagComponent } from '@taiga-ui/legacy/components/input-tag';
|
|
9
|
-
import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
10
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
11
|
-
import { type TuiMultiSelectOptions } from './multi-select.options';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
import * as i1 from "@taiga-ui/core/directives/dropdown";
|
|
14
|
-
export declare class TuiMultiSelectComponent<T> extends AbstractTuiMultipleControl<T> implements TuiFocusableElementAccessor, TuiDataListHost<T> {
|
|
15
|
-
private readonly accessor?;
|
|
16
|
-
private readonly nativeSelect?;
|
|
17
|
-
private readonly dropdown?;
|
|
18
|
-
private readonly input?;
|
|
19
|
-
private readonly arrowMode;
|
|
20
|
-
private readonly itemsHandlers;
|
|
21
|
-
private readonly options;
|
|
22
|
-
private readonly inputTagOptions;
|
|
23
|
-
protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;
|
|
24
|
-
protected open: boolean;
|
|
25
|
-
protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
|
|
26
|
-
protected readonly isMobile: boolean;
|
|
27
|
-
stringify: TuiItemsHandlers<T>['stringify'];
|
|
28
|
-
identityMatcher: TuiItemsHandlers<T>['identityMatcher'];
|
|
29
|
-
search: string | null;
|
|
30
|
-
placeholder: string;
|
|
31
|
-
editable: boolean;
|
|
32
|
-
disabledItemHandler: TuiItemsHandlers<T>['disabledItemHandler'];
|
|
33
|
-
valueContent: TuiMultiSelectOptions<T>['valueContent'];
|
|
34
|
-
tagValidator: TuiBooleanHandler<T>;
|
|
35
|
-
rows: TuiMultiSelectOptions<T>['rows'];
|
|
36
|
-
autoColor: boolean;
|
|
37
|
-
readonly searchChange: EventEmitter<string | null>;
|
|
38
|
-
get size(): TuiSizeL | TuiSizeS;
|
|
39
|
-
get nativeFocusableElement(): HTMLInputElement | null;
|
|
40
|
-
get focused(): boolean;
|
|
41
|
-
onValueChange(value: readonly T[]): void;
|
|
42
|
-
onSearch(search: string | null): void;
|
|
43
|
-
setDisabledState(): void;
|
|
44
|
-
handleOption(option: T): void;
|
|
45
|
-
protected get arrow(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
|
|
46
|
-
protected get nativeDropdownMode(): boolean;
|
|
47
|
-
protected get computedValue(): readonly T[];
|
|
48
|
-
protected get searchOrSpace(): string;
|
|
49
|
-
protected get searchString(): string;
|
|
50
|
-
protected get computedGroup(): boolean;
|
|
51
|
-
protected getStringifier(stringify: TuiStringHandler<T>): TuiStringHandler<TuiContext<T>>;
|
|
52
|
-
protected readonly valueMapper: TuiMapper<[
|
|
53
|
-
readonly T[],
|
|
54
|
-
TuiStringHandler<T>,
|
|
55
|
-
boolean?
|
|
56
|
-
], ReadonlyArray<TuiStringifiableItem<T>>>;
|
|
57
|
-
protected readonly disabledItemHandlerWrapper: TuiMapper<[
|
|
58
|
-
TuiBooleanHandler<T>
|
|
59
|
-
], TuiBooleanHandler<TuiStringifiableItem<T> | string>>;
|
|
60
|
-
protected onSpace(event: Event): void;
|
|
61
|
-
protected onEnter(event: Event): void;
|
|
62
|
-
protected onKeyDown(event: KeyboardEvent): void;
|
|
63
|
-
protected onPaste(event: Event): void;
|
|
64
|
-
protected onClick({ nativeFocusableElement }: TuiInputTagComponent): void;
|
|
65
|
-
protected onInput(value: ReadonlyArray<TuiStringifiableItem<T>>): void;
|
|
66
|
-
protected onActiveZone(active: boolean): void;
|
|
67
|
-
private filterValue;
|
|
68
|
-
private updateSearch;
|
|
69
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectComponent<any>, never>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiMultiSelectComponent<any>, "tui-multi-select", never, { "stringify": { "alias": "stringify"; "required": false; }; "identityMatcher": { "alias": "identityMatcher"; "required": false; }; "search": { "alias": "search"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "valueContent": { "alias": "valueContent"; "required": false; }; "tagValidator": { "alias": "tagValidator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "autoColor": { "alias": "autoColor"; "required": false; }; }, { "searchChange": "searchChange"; }, ["accessor", "nativeSelect", "datalist"], ["*", "select"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
|
|
71
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type TuiBooleanHandler } from '@taiga-ui/cdk/types';
|
|
2
|
-
import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
|
|
3
|
-
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
4
|
-
import { type TuiMultiSelectComponent } from './multi-select.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TuiMultiSelectDirective<T = string> extends AbstractTuiTextfieldHost<TuiMultiSelectComponent<T>> {
|
|
7
|
-
get readOnly(): boolean;
|
|
8
|
-
get stringify(): TuiItemsHandlers<T>['stringify'];
|
|
9
|
-
disableItemHandler: TuiBooleanHandler<T>;
|
|
10
|
-
onValueChange(): void;
|
|
11
|
-
onSelectionChange(value: T[]): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectDirective<any>, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiMultiSelectDirective<any>, "tui-multi-select", never, {}, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./multi-select.component";
|
|
3
|
-
import * as i2 from "./multi-select-group/multi-select-group.component";
|
|
4
|
-
import * as i3 from "./multi-select-group/multi-select-group.directive";
|
|
5
|
-
import * as i4 from "./hide-selected.pipe";
|
|
6
|
-
import * as i5 from "./native-multi-select/native-multi-select.component";
|
|
7
|
-
import * as i6 from "./native-multi-select/native-multi-select-group.component";
|
|
8
|
-
import * as i7 from "./multi-select.directive";
|
|
9
|
-
import * as i8 from "@angular/common";
|
|
10
|
-
import * as i9 from "@angular/forms";
|
|
11
|
-
import * as i10 from "@taiga-ui/polymorpheus";
|
|
12
|
-
import * as i11 from "@taiga-ui/legacy/directives";
|
|
13
|
-
import * as i12 from "@taiga-ui/legacy/components/arrow";
|
|
14
|
-
import * as i13 from "@taiga-ui/cdk/directives/let";
|
|
15
|
-
import * as i14 from "@taiga-ui/legacy/components/input-tag";
|
|
16
|
-
import * as i15 from "@taiga-ui/legacy/components/multi-select-option";
|
|
17
|
-
import * as i16 from "@taiga-ui/cdk/pipes/mapper";
|
|
18
|
-
import * as i17 from "@taiga-ui/core/components/link";
|
|
19
|
-
import * as i18 from "@taiga-ui/kit/pipes/stringify-content";
|
|
20
|
-
import * as i19 from "@taiga-ui/core/directives/dropdown";
|
|
21
|
-
import * as i20 from "@taiga-ui/core/components/data-list";
|
|
22
|
-
import * as i21 from "@taiga-ui/kit/components/data-list-wrapper";
|
|
23
|
-
/**
|
|
24
|
-
* TODO(v5): delete it
|
|
25
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-chip TuiInputChip} (from @taiga-ui/kit) instead
|
|
26
|
-
*/
|
|
27
|
-
export declare class TuiMultiSelectModule {
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectModule, never>;
|
|
29
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiMultiSelectModule, [typeof i1.TuiMultiSelectComponent, typeof i2.TuiMultiSelectGroupComponent, typeof i3.TuiMultiSelectGroupDirective, typeof i4.TuiHideSelectedPipe, typeof i5.TuiNativeMultiSelectComponent, typeof i6.TuiNativeMultiSelectGroupComponent, typeof i7.TuiMultiSelectDirective], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i10.PolymorpheusOutlet, typeof i10.PolymorpheusTemplate, typeof i11.TuiWrapperModule, typeof i12.TuiArrowComponent, typeof i13.TuiLet, typeof i14.TuiInputTagModule, typeof i15.TuiMultiSelectOptionModule, typeof i16.TuiMapperPipe, typeof i17.TuiLink, typeof i11.TuiTextfieldControllerModule, typeof i18.TuiStringifyContentPipe, typeof i11.TuiLegacyDropdownOpenMonitorDirective, typeof i19.TuiDropdownOptionsDirective, typeof i19.TuiDropdownDriverDirective, typeof i19.TuiDropdownDirective, typeof i19.TuiDropdownComponent, typeof i19.TuiDropdownOpen, typeof i19.TuiDropdownOpenLegacy, typeof i19.TuiDropdownPortal, typeof i19.TuiDropdownManual, typeof i19.TuiDropdownHover, typeof i19.TuiDropdownContext, typeof i19.TuiDropdownPosition, typeof i19.TuiDropdownPositionSided, typeof i19.TuiDropdownSelection, typeof i20.TuiDataListComponent, typeof i20.TuiDataListDirective, typeof i20.TuiOption, typeof i20.TuiOptionNew, typeof i20.TuiOptionWithValue, typeof i20.TuiOptGroup, typeof i21.TuiDataListWrapperComponent, typeof i21.TuiDataListGroupWrapperComponent, typeof i20.TuiDataListDirective], [typeof i1.TuiMultiSelectComponent, typeof i2.TuiMultiSelectGroupComponent, typeof i3.TuiMultiSelectGroupDirective, typeof i4.TuiHideSelectedPipe, typeof i7.TuiMultiSelectDirective, typeof i5.TuiNativeMultiSelectComponent, typeof i6.TuiNativeMultiSelectGroupComponent, typeof i19.TuiDropdownOptionsDirective, typeof i19.TuiDropdownDriverDirective, typeof i19.TuiDropdownDirective, typeof i19.TuiDropdownComponent, typeof i19.TuiDropdownOpen, typeof i19.TuiDropdownOpenLegacy, typeof i19.TuiDropdownPortal, typeof i19.TuiDropdownManual, typeof i19.TuiDropdownHover, typeof i19.TuiDropdownContext, typeof i19.TuiDropdownPosition, typeof i19.TuiDropdownPositionSided, typeof i19.TuiDropdownSelection, typeof i20.TuiDataListComponent, typeof i20.TuiDataListDirective, typeof i20.TuiOption, typeof i20.TuiOptionNew, typeof i20.TuiOptionWithValue, typeof i20.TuiOptGroup, typeof i21.TuiDataListWrapperComponent, typeof i21.TuiDataListGroupWrapperComponent, typeof i20.TuiDataListDirective]>;
|
|
30
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiMultiSelectModule>;
|
|
31
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
-
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
|
-
export interface TuiMultiSelectOptions<T> {
|
|
5
|
-
readonly rows: number;
|
|
6
|
-
readonly valueContent: PolymorpheusContent<TuiContext<readonly T[]>>;
|
|
7
|
-
}
|
|
8
|
-
export declare const TUI_MULTI_SELECT_DEFAULT_OPTIONS: TuiMultiSelectOptions<unknown>;
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated: drop in v5.0
|
|
11
|
-
* Default parameters for MultiSelect component
|
|
12
|
-
*/
|
|
13
|
-
export declare const TUI_MULTI_SELECT_OPTIONS: InjectionToken<TuiMultiSelectOptions<unknown>>;
|
|
14
|
-
export declare function tuiMultiSelectOptionsProvider<T>(options: Partial<TuiMultiSelectOptions<T>>): Provider;
|
package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AbstractTuiNativeMultiSelect } from './native-multi-select';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TuiNativeMultiSelectGroupComponent<T> extends AbstractTuiNativeMultiSelect<T> {
|
|
4
|
-
items: readonly T[][] | null;
|
|
5
|
-
labels: readonly string[];
|
|
6
|
-
protected onValueChange(selectedOptions: HTMLSelectElement['selectedOptions']): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeMultiSelectGroupComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiNativeMultiSelectGroupComponent<any>, "select[multiple][tuiSelect][labels]", never, { "items": { "alias": "items"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AbstractTuiNativeMultiSelect } from './native-multi-select';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TuiNativeMultiSelectComponent<T> extends AbstractTuiNativeMultiSelect<T> {
|
|
4
|
-
items: readonly T[] | null;
|
|
5
|
-
protected onValueChange(selectedOptions: HTMLSelectElement['selectedOptions']): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeMultiSelectComponent<any>, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiNativeMultiSelectComponent<any>, "select[multiple][tuiSelect]:not([labels])", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type TuiMapper } from '@taiga-ui/cdk/types';
|
|
2
|
-
import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
|
|
3
|
-
import { AbstractTuiNativeSelect } from '@taiga-ui/legacy/classes';
|
|
4
|
-
import { type TuiMultiSelectDirective } from '../multi-select.directive';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare abstract class AbstractTuiNativeMultiSelect<T> extends AbstractTuiNativeSelect<TuiMultiSelectDirective<T>, T> {
|
|
7
|
-
protected get stringify(): TuiItemsHandlers<T>['stringify'];
|
|
8
|
-
protected selectedMapper: TuiMapper<[T, ...any[]], boolean>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiNativeMultiSelect<any>, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiNativeMultiSelect<any>, never, never, {}, {}, never, never, true, never>;
|
|
11
|
-
}
|