@taiga-ui/legacy 4.52.0-canary.eb5ffe3 → 4.52.0-canary.ec0802b
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/classes/abstract-textfield-host.d.ts +1 -1
- package/components/arrow/arrow.options.d.ts +1 -3
- package/components/arrow/arrow.providers.d.ts +1 -6
- package/components/dialog/dialog.component.d.ts +3 -4
- package/components/dialog/dialog.directive.d.ts +4 -3
- package/components/dialog/dialog.interfaces.d.ts +3 -4
- package/components/dialog/dialog.service.d.ts +5 -2
- package/components/dialog/dialog.tokens.d.ts +1 -3
- package/components/index.d.ts +1 -6
- package/components/input/input.module.d.ts +4 -4
- package/components/input-date-range/input-date-range.component.d.ts +1 -2
- package/components/input-date-range/input-date-range.module.d.ts +8 -9
- package/components/input-date-time/input-date-time.component.d.ts +1 -2
- package/components/input-date-time/input-date-time.module.d.ts +6 -6
- package/components/input-month-range/input-month-range.module.d.ts +3 -3
- package/components/input-number/input-number.component.d.ts +1 -2
- package/components/input-number/input-number.module.d.ts +5 -5
- package/components/input-number/input-number.options.d.ts +1 -7
- package/components/input-range/input-range.module.d.ts +4 -4
- package/components/mobile-dialog/index.d.ts +3 -0
- package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
- package/components/mobile-dialog/mobile-dialog.options.d.ts +10 -0
- package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
- package/components/pdf-viewer/pdf-viewer.component.d.ts +2 -2
- package/components/pdf-viewer/pdf-viewer.directive.d.ts +4 -3
- package/components/pdf-viewer/pdf-viewer.options.d.ts +1 -3
- package/components/pdf-viewer/pdf-viewer.service.d.ts +7 -3
- package/components/primitive-textfield/primitive-textfield-options.d.ts +2 -2
- package/components/primitive-textfield/primitive-textfield.module.d.ts +5 -5
- package/components/select/select.module.d.ts +8 -8
- package/components/select/select.options.d.ts +1 -7
- package/components/select-option/select-option.module.d.ts +3 -3
- package/directives/textfield-controller/textfield.options.d.ts +1 -3
- package/fesm2022/taiga-ui-legacy-classes.mjs +1 -3
- package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs +4 -17
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs +28 -21
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +31 -41
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +26 -32
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +9 -9
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs +26 -41
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs +11 -11
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input.mjs +6 -5
- package/fesm2022/taiga-ui-legacy-components-input.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 +27 -21
- package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +16 -16
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs +6 -6
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-select.mjs +27 -35
- package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components.mjs +1 -6
- package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -1
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +3 -7
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -1
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-utils.mjs +1 -7
- package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -1
- package/package.json +12 -29
- package/utils/icons-path-factory.d.ts +1 -1
- package/utils/index.d.ts +0 -1
- 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/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/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-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-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/utils/is-apple.d.ts +0 -5
|
@@ -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.TuiDropdownManual, typeof i19.TuiDropdownHover, typeof i19.TuiDropdownContent, 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.TuiDropdownManual, typeof i19.TuiDropdownHover, typeof i19.TuiDropdownContent, 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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type TuiSizeS } from '@taiga-ui/core/types';
|
|
2
|
-
import { TuiSelectOptionComponent } from '@taiga-ui/legacy/components/select-option';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiMultiSelectOptionComponent<T extends any[]> extends TuiSelectOptionComponent<T> {
|
|
5
|
-
protected get size(): TuiSizeS;
|
|
6
|
-
protected get selected(): boolean;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectOptionComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiMultiSelectOptionComponent<any>, "tui-multi-select-option", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./multi-select-option.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@taiga-ui/kit/components/checkbox";
|
|
5
|
-
export declare class TuiMultiSelectOptionModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectOptionModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiMultiSelectOptionModule, [typeof i1.TuiMultiSelectOptionComponent], [typeof i2.CommonModule, typeof i3.TuiCheckbox], [typeof i1.TuiMultiSelectOptionComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiMultiSelectOptionModule>;
|
|
9
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { type TuiSizeL, type TuiSizeS, type TuiSizeXS } from '@taiga-ui/core/types';
|
|
3
|
-
import { type TuiStatus } from '@taiga-ui/legacy/utils';
|
|
4
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated: drop in v5.0 use {@link TuiChip}
|
|
8
|
-
* https://taiga-ui.dev/components/chip
|
|
9
|
-
*/
|
|
10
|
-
export declare class TuiTagComponent {
|
|
11
|
-
private readonly el;
|
|
12
|
-
private readonly options;
|
|
13
|
-
protected editing: boolean;
|
|
14
|
-
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
15
|
-
protected editedText: string | null;
|
|
16
|
-
value: string;
|
|
17
|
-
editable: boolean;
|
|
18
|
-
separator: RegExp | string;
|
|
19
|
-
maxLength: number | null;
|
|
20
|
-
size: TuiSizeL | TuiSizeS;
|
|
21
|
-
showLoader: boolean;
|
|
22
|
-
status: TuiStatus;
|
|
23
|
-
hoverable: boolean;
|
|
24
|
-
removable: boolean;
|
|
25
|
-
disabled: boolean;
|
|
26
|
-
autoColor: boolean;
|
|
27
|
-
leftContent: PolymorpheusContent;
|
|
28
|
-
readonly edited: EventEmitter<string>;
|
|
29
|
-
protected set input(input: ElementRef<HTMLInputElement>);
|
|
30
|
-
protected get backgroundColor(): string | null;
|
|
31
|
-
protected get canRemove(): boolean;
|
|
32
|
-
protected get displayText(): string;
|
|
33
|
-
protected get loaderSize(): TuiSizeXS;
|
|
34
|
-
protected edit(event: Event): void;
|
|
35
|
-
protected remove(event: Event): void;
|
|
36
|
-
protected onInput(value: string): void;
|
|
37
|
-
protected onKeyDown(event: KeyboardEvent): void;
|
|
38
|
-
protected onBlur(): void;
|
|
39
|
-
private get canEdit();
|
|
40
|
-
private stopEditing;
|
|
41
|
-
private save;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTagComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTagComponent, "tui-tag, a[tuiTag], button[tuiTag]", never, { "value": { "alias": "value"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "size": { "alias": "size"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "status": { "alias": "status"; "required": false; }; "hoverable": { "alias": "hoverable"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autoColor": { "alias": "autoColor"; "required": false; }; "leftContent": { "alias": "leftContent"; "required": false; }; }, { "edited": "edited"; }, never, never, false, never>;
|
|
44
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./tag.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "@taiga-ui/core/components/icon";
|
|
6
|
-
import * as i5 from "@taiga-ui/core/components/loader";
|
|
7
|
-
import * as i6 from "@taiga-ui/polymorpheus";
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated: drop in v5.0 use {@link TuiChip}
|
|
10
|
-
* https://taiga-ui.dev/components/chip
|
|
11
|
-
*/
|
|
12
|
-
export declare class TuiTagModule {
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTagModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTagModule, [typeof i1.TuiTagComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.TuiIcon, typeof i5.TuiLoader, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate], [typeof i1.TuiTagComponent]>;
|
|
15
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiTagModule>;
|
|
16
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
3
|
-
import { type TuiStatus } from '@taiga-ui/legacy/utils';
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated: drop in v5.0 use {@link TuiChip}
|
|
6
|
-
* https://taiga-ui.dev/components/chip
|
|
7
|
-
*/
|
|
8
|
-
export interface TuiTagOptions {
|
|
9
|
-
readonly autoColor: boolean;
|
|
10
|
-
readonly size: TuiSizeL | TuiSizeS;
|
|
11
|
-
readonly status: TuiStatus;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated: drop in v5.0 use {@link TuiChip}
|
|
15
|
-
* https://taiga-ui.dev/components/chip
|
|
16
|
-
*/
|
|
17
|
-
export declare const TUI_TAG_DEFAULT_OPTIONS: TuiTagOptions;
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated: drop in v5.0 use {@link TuiChip}
|
|
20
|
-
* https://taiga-ui.dev/components/chip
|
|
21
|
-
*/
|
|
22
|
-
export declare const TUI_TAG_OPTIONS: InjectionToken<TuiTagOptions>;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated: drop in v5.0 use {@link TuiChip}
|
|
25
|
-
* https://taiga-ui.dev/components/chip
|
|
26
|
-
*/
|
|
27
|
-
export declare function tuiTagOptionsProvider(options: Partial<TuiTagOptions>): Provider;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
2
|
-
import { TuiHintOptionsDirective } from '@taiga-ui/core/directives/hint';
|
|
3
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
4
|
-
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
5
|
-
import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
6
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare const DEFAULT_ROWS = 20;
|
|
9
|
-
export declare const LINE_HEIGHT_M = 20;
|
|
10
|
-
export declare const LINE_HEIGHT_L = 24;
|
|
11
|
-
/**
|
|
12
|
-
* TODO(v5): delete it
|
|
13
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/textarea Textarea} (from @taiga-ui/kit) instead
|
|
14
|
-
*/
|
|
15
|
-
export declare class TuiTextareaComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
|
|
16
|
-
private readonly focusableElement?;
|
|
17
|
-
private readonly textfield?;
|
|
18
|
-
private readonly options;
|
|
19
|
-
protected readonly isIOS: boolean;
|
|
20
|
-
protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
|
|
21
|
-
protected readonly hintOptions: TuiHintOptionsDirective | null;
|
|
22
|
-
rows: number;
|
|
23
|
-
maxLength: number | null;
|
|
24
|
-
expandable: boolean;
|
|
25
|
-
get nativeFocusableElement(): HTMLTextAreaElement | null;
|
|
26
|
-
get focused(): boolean;
|
|
27
|
-
get computeMaxHeight(): number | null;
|
|
28
|
-
onValueChange(value: string): void;
|
|
29
|
-
protected get labelOutside(): boolean;
|
|
30
|
-
protected get size(): TuiSizeL | TuiSizeS;
|
|
31
|
-
protected get borderStart(): number;
|
|
32
|
-
protected get borderEnd(): number;
|
|
33
|
-
protected get hasTooltip(): boolean;
|
|
34
|
-
protected get hasValue(): boolean;
|
|
35
|
-
protected get hasCounter(): boolean;
|
|
36
|
-
protected get appearance(): string;
|
|
37
|
-
protected get hasCleaner(): boolean;
|
|
38
|
-
protected get hasPlaceholder(): boolean;
|
|
39
|
-
protected get hasCustomContent(): boolean;
|
|
40
|
-
protected get iconLeftContent(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
41
|
-
protected get iconContent(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
42
|
-
protected get iconCleaner(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
43
|
-
protected get hasExampleText(): boolean;
|
|
44
|
-
protected get placeholderRaised(): boolean;
|
|
45
|
-
protected get fittedContent(): string;
|
|
46
|
-
protected get extraContent(): string;
|
|
47
|
-
protected onFocused(focused: boolean): void;
|
|
48
|
-
protected onMouseDown(event: MouseEvent): void;
|
|
49
|
-
protected getFallbackValue(): string;
|
|
50
|
-
private get lineHeight();
|
|
51
|
-
private get placeholderRaisable();
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextareaComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextareaComponent, "tui-textarea", never, { "rows": { "alias": "rows"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; }, {}, ["textfield"], ["*", "textarea"], false, never>;
|
|
54
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
2
|
-
import { type TuiTextareaComponent } from './textarea.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/textarea Textarea} (from @taiga-ui/kit) instead
|
|
7
|
-
*/
|
|
8
|
-
export declare class TuiTextareaDirective extends AbstractTuiTextfieldHost<TuiTextareaComponent> {
|
|
9
|
-
onValueChange(value: string): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextareaDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextareaDirective, "tui-textarea", never, {}, {}, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./textarea.component";
|
|
3
|
-
import * as i2 from "./textarea.directive";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
6
|
-
import * as i5 from "@taiga-ui/core/components/scrollbar";
|
|
7
|
-
import * as i6 from "@taiga-ui/legacy/components/tooltip";
|
|
8
|
-
import * as i7 from "@taiga-ui/legacy/directives";
|
|
9
|
-
import * as i8 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
10
|
-
import * as i9 from "@taiga-ui/polymorpheus";
|
|
11
|
-
import * as i10 from "@taiga-ui/core/components/icon";
|
|
12
|
-
import * as i11 from "@taiga-ui/core/directives/appearance";
|
|
13
|
-
/**
|
|
14
|
-
* TODO(v5): delete it
|
|
15
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/textarea Textarea} (from @taiga-ui/kit) instead
|
|
16
|
-
*/
|
|
17
|
-
export declare class TuiTextareaModule {
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextareaModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTextareaModule, [typeof i1.TuiTextareaComponent, typeof i2.TuiTextareaDirective], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.TuiScrollbar, typeof i6.TuiTooltipModule, typeof i7.TuiWrapperModule, typeof i8.TuiPrimitiveTextfieldModule, typeof i9.PolymorpheusOutlet, typeof i9.PolymorpheusTemplate, typeof i10.TuiIcon, typeof i11.TuiAppearance], [typeof i1.TuiTextareaComponent, typeof i2.TuiTextareaDirective, typeof i8.TuiTextfieldComponent, typeof i9.PolymorpheusOutlet, typeof i9.PolymorpheusTemplate]>;
|
|
20
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiTextareaModule>;
|
|
21
|
-
}
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
import { __decorate } from 'tslib';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { inject, ElementRef, Input, ViewChild, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
4
|
-
import { tuiIsFocused } from '@taiga-ui/cdk/utils/focus';
|
|
5
|
-
import { tuiRound, tuiClamp } from '@taiga-ui/cdk/utils/math';
|
|
6
|
-
import { tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
7
|
-
import { tuiGetFractionPartPadded } from '@taiga-ui/core/utils/format';
|
|
8
|
-
import * as i1$1 from '@taiga-ui/kit/components/slider';
|
|
9
|
-
import { TUI_FLOATING_PRECISION, TuiSliderComponent, tuiSliderOptionsProvider, TuiSlider } from '@taiga-ui/kit/components/slider';
|
|
10
|
-
import { AbstractTuiControl, tuiAsControl } from '@taiga-ui/legacy/classes';
|
|
11
|
-
import * as i3 from '@taiga-ui/legacy/components/input-number';
|
|
12
|
-
import { TuiInputNumberComponent, TuiInputNumberModule } from '@taiga-ui/legacy/components/input-number';
|
|
13
|
-
import * as i5 from '@taiga-ui/legacy/directives';
|
|
14
|
-
import { TUI_TEXTFIELD_WATCHED_CONTROLLER, TEXTFIELD_CONTROLLER_PROVIDER, TuiTextfieldControllerModule } from '@taiga-ui/legacy/directives';
|
|
15
|
-
import { tuiAsFocusableItemAccessor } from '@taiga-ui/legacy/tokens';
|
|
16
|
-
import * as i1 from '@angular/forms';
|
|
17
|
-
import { FormsModule } from '@angular/forms';
|
|
18
|
-
import * as i2 from '@taiga-ui/polymorpheus';
|
|
19
|
-
import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
|
|
20
|
-
import * as i4 from '@taiga-ui/core/directives/number-format';
|
|
21
|
-
import { TuiNumberFormat } from '@taiga-ui/core/directives/number-format';
|
|
22
|
-
import { CommonModule } from '@angular/common';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* TODO(v5): delete it
|
|
26
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-slider TuiInputSlider} (from @taiga-ui/kit) instead
|
|
27
|
-
*/
|
|
28
|
-
class TuiInputSliderComponent extends AbstractTuiControl {
|
|
29
|
-
constructor() {
|
|
30
|
-
super(...arguments);
|
|
31
|
-
this.textfieldValue = this.safeCurrentValue;
|
|
32
|
-
this.controller = inject(TUI_TEXTFIELD_WATCHED_CONTROLLER);
|
|
33
|
-
this.min = 0;
|
|
34
|
-
this.max = 100;
|
|
35
|
-
this.quantum = 1;
|
|
36
|
-
this.steps = 0;
|
|
37
|
-
this.segments = 1;
|
|
38
|
-
this.keySteps = null;
|
|
39
|
-
}
|
|
40
|
-
get nativeFocusableElement() {
|
|
41
|
-
return !this.inputNumberRef?.nativeFocusableElement || this.computedDisabled
|
|
42
|
-
? null
|
|
43
|
-
: this.inputNumberRef.nativeFocusableElement;
|
|
44
|
-
}
|
|
45
|
-
get focused() {
|
|
46
|
-
return (tuiIsFocused(this.nativeFocusableElement) ||
|
|
47
|
-
tuiIsFocused(this.sliderRef?.nativeElement || null));
|
|
48
|
-
}
|
|
49
|
-
writeValue(value) {
|
|
50
|
-
super.writeValue(value);
|
|
51
|
-
this.textfieldValue = this.value;
|
|
52
|
-
}
|
|
53
|
-
get prefix() {
|
|
54
|
-
return this.controller.prefix;
|
|
55
|
-
}
|
|
56
|
-
get postfix() {
|
|
57
|
-
return this.controller.postfix;
|
|
58
|
-
}
|
|
59
|
-
get computedSteps() {
|
|
60
|
-
return this.steps || (this.max - this.min) / this.quantum;
|
|
61
|
-
}
|
|
62
|
-
get precision() {
|
|
63
|
-
return tuiGetFractionPartPadded(this.quantum).length;
|
|
64
|
-
}
|
|
65
|
-
get showValueContent() {
|
|
66
|
-
return Boolean(this.valueContent && !this.focused);
|
|
67
|
-
}
|
|
68
|
-
get step() {
|
|
69
|
-
return (this.max - this.min) / this.computedSteps;
|
|
70
|
-
}
|
|
71
|
-
computeKeySteps(keySteps, min, max) {
|
|
72
|
-
return (keySteps || [
|
|
73
|
-
[0, min],
|
|
74
|
-
[100, max],
|
|
75
|
-
]);
|
|
76
|
-
}
|
|
77
|
-
focusTextInput() {
|
|
78
|
-
const focusableElement = this.inputNumberRef?.nativeFocusableElement;
|
|
79
|
-
if (focusableElement) {
|
|
80
|
-
focusableElement.focus();
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
safelyUpdateValue(value) {
|
|
84
|
-
this.value = this.valueGuard(value ?? this.safeCurrentValue);
|
|
85
|
-
}
|
|
86
|
-
onVerticalArrowKeyDown(coefficient) {
|
|
87
|
-
if (this.readOnly || !this.step) {
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
const value = this.value + coefficient * this.step;
|
|
91
|
-
if (value !== this.value) {
|
|
92
|
-
this.safelyUpdateValue(value);
|
|
93
|
-
this.textfieldValue = this.value;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
onSliderChange(newValue) {
|
|
97
|
-
this.safelyUpdateValue(newValue);
|
|
98
|
-
this.textfieldValue = this.value;
|
|
99
|
-
}
|
|
100
|
-
onFocused(focused) {
|
|
101
|
-
const { value, textfieldValue } = this;
|
|
102
|
-
if (!focused && textfieldValue !== value) {
|
|
103
|
-
this.textfieldValue = value;
|
|
104
|
-
}
|
|
105
|
-
this.updateFocused(focused);
|
|
106
|
-
}
|
|
107
|
-
getFallbackValue() {
|
|
108
|
-
return 0;
|
|
109
|
-
}
|
|
110
|
-
valueGuard(value) {
|
|
111
|
-
const roundedValue = tuiRound(Math.round(value / this.quantum) * this.quantum, TUI_FLOATING_PRECISION);
|
|
112
|
-
return tuiClamp(roundedValue, this.min, this.max);
|
|
113
|
-
}
|
|
114
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputSliderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
115
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiInputSliderComponent, isStandalone: false, selector: "tui-input-slider", inputs: { min: "min", max: "max", quantum: "quantum", steps: "steps", segments: "segments", keySteps: "keySteps", valueContent: "valueContent" }, host: { properties: { "attr.data-size": "controller.size", "class._label-outside": "controller.labelOutside" } }, providers: [
|
|
116
|
-
tuiAsFocusableItemAccessor(TuiInputSliderComponent),
|
|
117
|
-
tuiAsControl(TuiInputSliderComponent),
|
|
118
|
-
tuiSliderOptionsProvider({ trackColor: 'transparent' }),
|
|
119
|
-
TEXTFIELD_CONTROLLER_PROVIDER,
|
|
120
|
-
], viewQueries: [{ propertyName: "inputNumberRef", first: true, predicate: TuiInputNumberComponent, descendants: true }, { propertyName: "sliderRef", first: true, predicate: TuiSliderComponent, descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: "<tui-input-number\n [disabled]=\"computedDisabled\"\n [max]=\"max\"\n [min]=\"min\"\n [ngModelOptions]=\"{standalone: true}\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoInvalid]=\"pseudoInvalid\"\n [readOnly]=\"readOnly\"\n [tuiNumberFormat]=\"{precision}\"\n [tuiTextfieldPostfix]=\"postfix\"\n [tuiTextfieldPrefix]=\"prefix\"\n [(ngModel)]=\"textfieldValue\"\n (focusedChange)=\"onFocused($event)\"\n (keydown.arrowDown.prevent)=\"onVerticalArrowKeyDown(-1)\"\n (keydown.arrowUp.prevent)=\"onVerticalArrowKeyDown(1)\"\n (ngModelChange)=\"safelyUpdateValue($event)\"\n>\n <ng-content />\n @if (showValueContent) {\n <div\n automation-id=\"tui-input-slider__value-content\"\n ngProjectAs=\"tuiContent\"\n >\n <ng-container *polymorpheusOutlet=\"valueContent as text; context: {$implicit: value}\">\n {{ text }}\n </ng-container>\n </div>\n }\n</tui-input-number>\n\n<input\n tabIndex=\"-1\"\n tuiSlider\n type=\"range\"\n [disabled]=\"readOnly || computedDisabled\"\n [keySteps]=\"computeKeySteps(keySteps, min, max)\"\n [max]=\"computedSteps\"\n [ngModel]=\"value\"\n [ngModelOptions]=\"{standalone: true}\"\n [segments]=\"segments\"\n (click)=\"focusTextInput()\"\n (ngModelChange)=\"onSliderChange($event)\"\n/>\n", styles: [":host{position:relative;display:block;block-size:max-content;isolation:isolate;border-radius:var(--tui-radius);--tui-radius: var(--tui-radius-m)}:host[data-size=l]{--tui-radius: var(--tui-radius-l)}:host :host-context(*:disabled){pointer-events:none}tui-input-number{border-radius:inherit}input[type=range]{position:absolute;top:100%;left:calc(var(--tui-radius) / 2);right:0;inline-size:calc(100% - calc(var(--tui-radius) / 2));box-sizing:border-box;block-size:1rem;margin:-.5625rem 0 0;border-top-left-radius:0;border-bottom-left-radius:calc(var(--tui-radius) * 10) calc(var(--tui-radius) * 2)}\n"], dependencies: [{ kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.RangeValueAccessor, selector: "input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i3.TuiInputNumberComponent, selector: "tui-input-number", inputs: ["min", "max", "step"] }, { kind: "directive", type: i3.TuiInputNumberDirective, selector: "tui-input-number" }, { kind: "directive", type: i4.TuiNumberFormat, selector: "[tuiNumberFormat]", inputs: ["tuiNumberFormat"] }, { kind: "directive", type: i5.TuiTextfieldPrefixDirective, selector: "[tuiTextfieldPrefix]", inputs: ["tuiTextfieldPrefix"] }, { kind: "directive", type: i5.TuiTextfieldPostfixDirective, selector: "[tuiTextfieldPostfix]", inputs: ["tuiTextfieldPostfix"] }, { kind: "component", type: i1$1.TuiSliderComponent, selector: "input[type=range][tuiSlider]", inputs: ["size", "segments"] }, { kind: "directive", type: i1$1.TuiSliderKeyStepsBase, selector: "input[tuiSlider][keySteps]", inputs: ["step", "keySteps"] }, { kind: "directive", type: i1$1.TuiSliderKeySteps, selector: "input[tuiSlider][keySteps][ngModel],input[tuiSlider][keySteps][formControl],input[tuiSlider][keySteps][formControlName]", inputs: ["keySteps"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
121
|
-
}
|
|
122
|
-
__decorate([
|
|
123
|
-
tuiPure
|
|
124
|
-
], TuiInputSliderComponent.prototype, "computeKeySteps", null);
|
|
125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputSliderComponent, decorators: [{
|
|
126
|
-
type: Component,
|
|
127
|
-
args: [{ standalone: false, selector: 'tui-input-slider', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
128
|
-
tuiAsFocusableItemAccessor(TuiInputSliderComponent),
|
|
129
|
-
tuiAsControl(TuiInputSliderComponent),
|
|
130
|
-
tuiSliderOptionsProvider({ trackColor: 'transparent' }),
|
|
131
|
-
TEXTFIELD_CONTROLLER_PROVIDER,
|
|
132
|
-
], host: {
|
|
133
|
-
'[attr.data-size]': 'controller.size',
|
|
134
|
-
'[class._label-outside]': 'controller.labelOutside',
|
|
135
|
-
}, template: "<tui-input-number\n [disabled]=\"computedDisabled\"\n [max]=\"max\"\n [min]=\"min\"\n [ngModelOptions]=\"{standalone: true}\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoInvalid]=\"pseudoInvalid\"\n [readOnly]=\"readOnly\"\n [tuiNumberFormat]=\"{precision}\"\n [tuiTextfieldPostfix]=\"postfix\"\n [tuiTextfieldPrefix]=\"prefix\"\n [(ngModel)]=\"textfieldValue\"\n (focusedChange)=\"onFocused($event)\"\n (keydown.arrowDown.prevent)=\"onVerticalArrowKeyDown(-1)\"\n (keydown.arrowUp.prevent)=\"onVerticalArrowKeyDown(1)\"\n (ngModelChange)=\"safelyUpdateValue($event)\"\n>\n <ng-content />\n @if (showValueContent) {\n <div\n automation-id=\"tui-input-slider__value-content\"\n ngProjectAs=\"tuiContent\"\n >\n <ng-container *polymorpheusOutlet=\"valueContent as text; context: {$implicit: value}\">\n {{ text }}\n </ng-container>\n </div>\n }\n</tui-input-number>\n\n<input\n tabIndex=\"-1\"\n tuiSlider\n type=\"range\"\n [disabled]=\"readOnly || computedDisabled\"\n [keySteps]=\"computeKeySteps(keySteps, min, max)\"\n [max]=\"computedSteps\"\n [ngModel]=\"value\"\n [ngModelOptions]=\"{standalone: true}\"\n [segments]=\"segments\"\n (click)=\"focusTextInput()\"\n (ngModelChange)=\"onSliderChange($event)\"\n/>\n", styles: [":host{position:relative;display:block;block-size:max-content;isolation:isolate;border-radius:var(--tui-radius);--tui-radius: var(--tui-radius-m)}:host[data-size=l]{--tui-radius: var(--tui-radius-l)}:host :host-context(*:disabled){pointer-events:none}tui-input-number{border-radius:inherit}input[type=range]{position:absolute;top:100%;left:calc(var(--tui-radius) / 2);right:0;inline-size:calc(100% - calc(var(--tui-radius) / 2));box-sizing:border-box;block-size:1rem;margin:-.5625rem 0 0;border-top-left-radius:0;border-bottom-left-radius:calc(var(--tui-radius) * 10) calc(var(--tui-radius) * 2)}\n"] }]
|
|
136
|
-
}], propDecorators: { inputNumberRef: [{
|
|
137
|
-
type: ViewChild,
|
|
138
|
-
args: [TuiInputNumberComponent]
|
|
139
|
-
}], sliderRef: [{
|
|
140
|
-
type: ViewChild,
|
|
141
|
-
args: [TuiSliderComponent, { read: ElementRef }]
|
|
142
|
-
}], min: [{
|
|
143
|
-
type: Input
|
|
144
|
-
}], max: [{
|
|
145
|
-
type: Input
|
|
146
|
-
}], quantum: [{
|
|
147
|
-
type: Input
|
|
148
|
-
}], steps: [{
|
|
149
|
-
type: Input
|
|
150
|
-
}], segments: [{
|
|
151
|
-
type: Input
|
|
152
|
-
}], keySteps: [{
|
|
153
|
-
type: Input
|
|
154
|
-
}], valueContent: [{
|
|
155
|
-
type: Input
|
|
156
|
-
}], computeKeySteps: [] } });
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* TODO(v5): delete it
|
|
160
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-slider TuiInputSlider} (from @taiga-ui/kit) instead
|
|
161
|
-
*/
|
|
162
|
-
class TuiInputSliderModule {
|
|
163
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
164
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInputSliderModule, declarations: [TuiInputSliderComponent], imports: [CommonModule,
|
|
165
|
-
FormsModule,
|
|
166
|
-
PolymorpheusOutlet,
|
|
167
|
-
PolymorpheusTemplate,
|
|
168
|
-
TuiInputNumberModule,
|
|
169
|
-
TuiNumberFormat,
|
|
170
|
-
TuiTextfieldControllerModule, i1$1.TuiSliderComponent, i1$1.TuiSliderThumbLabel, i1$1.TuiSliderKeyStepsBase, i1$1.TuiSliderKeySteps, i1$1.TuiSliderReadonly], exports: [TuiInputSliderComponent, i1$1.TuiSliderComponent, i1$1.TuiSliderThumbLabel, i1$1.TuiSliderKeyStepsBase, i1$1.TuiSliderKeySteps, i1$1.TuiSliderReadonly] }); }
|
|
171
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputSliderModule, imports: [CommonModule,
|
|
172
|
-
FormsModule,
|
|
173
|
-
TuiInputNumberModule,
|
|
174
|
-
TuiTextfieldControllerModule, i1$1.TuiSliderComponent, i1$1.TuiSliderThumbLabel] }); }
|
|
175
|
-
}
|
|
176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputSliderModule, decorators: [{
|
|
177
|
-
type: NgModule,
|
|
178
|
-
args: [{
|
|
179
|
-
imports: [
|
|
180
|
-
CommonModule,
|
|
181
|
-
FormsModule,
|
|
182
|
-
PolymorpheusOutlet,
|
|
183
|
-
PolymorpheusTemplate,
|
|
184
|
-
TuiInputNumberModule,
|
|
185
|
-
TuiNumberFormat,
|
|
186
|
-
TuiTextfieldControllerModule,
|
|
187
|
-
...TuiSlider,
|
|
188
|
-
],
|
|
189
|
-
declarations: [TuiInputSliderComponent],
|
|
190
|
-
exports: [TuiInputSliderComponent, ...TuiSlider],
|
|
191
|
-
}]
|
|
192
|
-
}] });
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* Generated bundle index. Do not edit.
|
|
196
|
-
*/
|
|
197
|
-
|
|
198
|
-
export { TuiInputSliderComponent, TuiInputSliderModule };
|
|
199
|
-
//# sourceMappingURL=taiga-ui-legacy-components-input-slider.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-legacy-components-input-slider.mjs","sources":["../../../projects/legacy/components/input-slider/input-slider.component.ts","../../../projects/legacy/components/input-slider/input-slider.template.html","../../../projects/legacy/components/input-slider/input-slider.module.ts","../../../projects/legacy/components/input-slider/taiga-ui-legacy-components-input-slider.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n inject,\n Input,\n ViewChild,\n} from '@angular/core';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiIsFocused} from '@taiga-ui/cdk/utils/focus';\nimport {tuiClamp, tuiRound} from '@taiga-ui/cdk/utils/math';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {tuiGetFractionPartPadded} from '@taiga-ui/core/utils/format';\nimport {\n TUI_FLOATING_PRECISION,\n type TuiKeySteps,\n TuiSliderComponent,\n tuiSliderOptionsProvider,\n} from '@taiga-ui/kit/components/slider';\nimport {AbstractTuiControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TuiInputNumberComponent} from '@taiga-ui/legacy/components/input-number';\nimport {\n TEXTFIELD_CONTROLLER_PROVIDER,\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n} from '@taiga-ui/legacy/directives';\nimport {\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n type TuiNativeFocusableElement,\n} from '@taiga-ui/legacy/tokens';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-slider TuiInputSlider} (from @taiga-ui/kit) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-input-slider',\n templateUrl: './input-slider.template.html',\n styleUrl: './input-slider.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputSliderComponent),\n tuiAsControl(TuiInputSliderComponent),\n tuiSliderOptionsProvider({trackColor: 'transparent'}),\n TEXTFIELD_CONTROLLER_PROVIDER,\n ],\n host: {\n '[attr.data-size]': 'controller.size',\n '[class._label-outside]': 'controller.labelOutside',\n },\n})\nexport class TuiInputSliderComponent\n extends AbstractTuiControl<number>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiInputNumberComponent)\n private readonly inputNumberRef?: TuiInputNumberComponent;\n\n @ViewChild(TuiSliderComponent, {read: ElementRef})\n private readonly sliderRef?: ElementRef<HTMLInputElement>;\n\n protected textfieldValue = this.safeCurrentValue;\n protected readonly controller = inject(TUI_TEXTFIELD_WATCHED_CONTROLLER);\n\n @Input()\n public min = 0;\n\n @Input()\n public max = 100;\n\n @Input()\n public quantum = 1;\n\n @Input()\n public steps = 0;\n\n @Input()\n public segments: number[] | number = 1;\n\n @Input()\n public keySteps: TuiKeySteps | null = null;\n\n @Input()\n public valueContent: PolymorpheusContent<TuiContext<number>>;\n\n public get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return !this.inputNumberRef?.nativeFocusableElement || this.computedDisabled\n ? null\n : this.inputNumberRef.nativeFocusableElement;\n }\n\n public get focused(): boolean {\n return (\n tuiIsFocused(this.nativeFocusableElement) ||\n tuiIsFocused(this.sliderRef?.nativeElement || null)\n );\n }\n\n public override writeValue(value: number | null): void {\n super.writeValue(value);\n this.textfieldValue = this.value;\n }\n\n protected get prefix(): string {\n return this.controller.prefix;\n }\n\n protected get postfix(): string {\n return this.controller.postfix;\n }\n\n protected get computedSteps(): number {\n return this.steps || (this.max - this.min) / this.quantum;\n }\n\n protected get precision(): number {\n return tuiGetFractionPartPadded(this.quantum).length;\n }\n\n protected get showValueContent(): boolean {\n return Boolean(this.valueContent && !this.focused);\n }\n\n protected get step(): number {\n return (this.max - this.min) / this.computedSteps;\n }\n\n @tuiPure\n protected computeKeySteps(\n keySteps: TuiKeySteps | null,\n min: number,\n max: number,\n ): TuiKeySteps {\n return (\n keySteps || [\n [0, min],\n [100, max],\n ]\n );\n }\n\n protected focusTextInput(): void {\n const focusableElement = this.inputNumberRef?.nativeFocusableElement;\n\n if (focusableElement) {\n focusableElement.focus();\n }\n }\n\n protected safelyUpdateValue(value: number | null): void {\n this.value = this.valueGuard(value ?? this.safeCurrentValue);\n }\n\n protected onVerticalArrowKeyDown(coefficient: number): void {\n if (this.readOnly || !this.step) {\n return;\n }\n\n const value = this.value + coefficient * this.step;\n\n if (value !== this.value) {\n this.safelyUpdateValue(value);\n this.textfieldValue = this.value;\n }\n }\n\n protected onSliderChange(newValue: number): void {\n this.safelyUpdateValue(newValue);\n this.textfieldValue = this.value;\n }\n\n protected onFocused(focused: boolean): void {\n const {value, textfieldValue} = this;\n\n if (!focused && textfieldValue !== value) {\n this.textfieldValue = value;\n }\n\n this.updateFocused(focused);\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n\n private valueGuard(value: number): number {\n const roundedValue = tuiRound(\n Math.round(value / this.quantum) * this.quantum,\n TUI_FLOATING_PRECISION,\n );\n\n return tuiClamp(roundedValue, this.min, this.max);\n }\n}\n","<tui-input-number\n [disabled]=\"computedDisabled\"\n [max]=\"max\"\n [min]=\"min\"\n [ngModelOptions]=\"{standalone: true}\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoInvalid]=\"pseudoInvalid\"\n [readOnly]=\"readOnly\"\n [tuiNumberFormat]=\"{precision}\"\n [tuiTextfieldPostfix]=\"postfix\"\n [tuiTextfieldPrefix]=\"prefix\"\n [(ngModel)]=\"textfieldValue\"\n (focusedChange)=\"onFocused($event)\"\n (keydown.arrowDown.prevent)=\"onVerticalArrowKeyDown(-1)\"\n (keydown.arrowUp.prevent)=\"onVerticalArrowKeyDown(1)\"\n (ngModelChange)=\"safelyUpdateValue($event)\"\n>\n <ng-content />\n @if (showValueContent) {\n <div\n automation-id=\"tui-input-slider__value-content\"\n ngProjectAs=\"tuiContent\"\n >\n <ng-container *polymorpheusOutlet=\"valueContent as text; context: {$implicit: value}\">\n {{ text }}\n </ng-container>\n </div>\n }\n</tui-input-number>\n\n<input\n tabIndex=\"-1\"\n tuiSlider\n type=\"range\"\n [disabled]=\"readOnly || computedDisabled\"\n [keySteps]=\"computeKeySteps(keySteps, min, max)\"\n [max]=\"computedSteps\"\n [ngModel]=\"value\"\n [ngModelOptions]=\"{standalone: true}\"\n [segments]=\"segments\"\n (click)=\"focusTextInput()\"\n (ngModelChange)=\"onSliderChange($event)\"\n/>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiNumberFormat} from '@taiga-ui/core/directives/number-format';\nimport {TuiSlider} from '@taiga-ui/kit/components/slider';\nimport {TuiInputNumberModule} from '@taiga-ui/legacy/components/input-number';\nimport {TuiTextfieldControllerModule} from '@taiga-ui/legacy/directives';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiInputSliderComponent} from './input-slider.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-slider TuiInputSlider} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n TuiInputNumberModule,\n TuiNumberFormat,\n TuiTextfieldControllerModule,\n ...TuiSlider,\n ],\n declarations: [TuiInputSliderComponent],\n exports: [TuiInputSliderComponent, ...TuiSlider],\n})\nexport class TuiInputSliderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i6","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAgCA;;;AAGG;AAkBG,MAAO,uBACT,SAAQ,kBAA0B,CAAA;AAlBtC,IAAA,WAAA,GAAA;;AA2Bc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