@taiga-ui/legacy 4.52.0-canary.6be767f → 4.52.0-canary.6ee9658
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 +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 +1 -13
- 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 +3 -3
- 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 +3 -4
- 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 +32 -26
- 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 +31 -26
- 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 +28 -37
- package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components.mjs +1 -13
- 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 +2 -7
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +2 -4
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-tokens.mjs +1 -1
- package/fesm2022/taiga-ui-legacy-tokens.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 -57
- package/utils/icons-path-factory.d.ts +1 -1
- package/utils/index.d.ts +0 -1
- 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/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-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-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,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,299 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, EventEmitter, TemplateRef, Output, Input, ContentChild, ViewChild, ChangeDetectionStrategy, Component, Directive, NgModule } from '@angular/core';
|
|
3
|
-
import { TUI_STRICT_MATCHER } from '@taiga-ui/cdk/constants';
|
|
4
|
-
import { tuiIsFocused } from '@taiga-ui/cdk/utils/focus';
|
|
5
|
-
import { tuiIsPresent } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
6
|
-
import { TUI_DATA_LIST_ACCESSOR, TuiDataListDirective, tuiAsDataListHost, tuiAsOptionContent } from '@taiga-ui/core/components/data-list';
|
|
7
|
-
import * as i1 from '@taiga-ui/core/directives/dropdown';
|
|
8
|
-
import { TuiDropdownOpen, TuiDropdownFixed, TuiDropdown } from '@taiga-ui/core/directives/dropdown';
|
|
9
|
-
import { TUI_ITEMS_HANDLERS } from '@taiga-ui/kit/tokens';
|
|
10
|
-
import { AbstractTuiNullableControl, tuiAsControl, AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
11
|
-
import { TUI_ARROW_MODE, TuiArrowComponent } from '@taiga-ui/legacy/components/arrow';
|
|
12
|
-
import * as i3 from '@taiga-ui/legacy/components/primitive-textfield';
|
|
13
|
-
import { TuiPrimitiveTextfieldComponent, TuiTextfieldComponent, TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
|
|
14
|
-
import { TUI_SELECT_OPTION, TuiSelectOptionModule } from '@taiga-ui/legacy/components/select-option';
|
|
15
|
-
import * as i4 from '@taiga-ui/legacy/directives';
|
|
16
|
-
import { TUI_TEXTFIELD_SIZE, TuiWrapperModule, TuiTextfieldControllerModule, TuiLegacyDropdownOpenMonitorDirective } from '@taiga-ui/legacy/directives';
|
|
17
|
-
import { tuiAsFocusableItemAccessor, tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
|
|
18
|
-
import * as i2 from '@taiga-ui/polymorpheus';
|
|
19
|
-
import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
|
|
20
|
-
import { CommonModule } from '@angular/common';
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* TODO(v5): delete it
|
|
24
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead
|
|
25
|
-
*/
|
|
26
|
-
class TuiComboBoxComponent extends AbstractTuiNullableControl {
|
|
27
|
-
constructor() {
|
|
28
|
-
super(...arguments);
|
|
29
|
-
this.arrowMode = inject(TUI_ARROW_MODE);
|
|
30
|
-
this.itemsHandlers = inject(TUI_ITEMS_HANDLERS);
|
|
31
|
-
this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
|
|
32
|
-
this.stringify = this.itemsHandlers.stringify;
|
|
33
|
-
this.strictMatcher = TUI_STRICT_MATCHER;
|
|
34
|
-
this.identityMatcher = this.itemsHandlers.identityMatcher;
|
|
35
|
-
this.strict = true;
|
|
36
|
-
this.search = null;
|
|
37
|
-
this.searchChange = new EventEmitter();
|
|
38
|
-
this.open = false;
|
|
39
|
-
}
|
|
40
|
-
get size() {
|
|
41
|
-
return this.textfieldSize.size;
|
|
42
|
-
}
|
|
43
|
-
get nativeFocusableElement() {
|
|
44
|
-
return this.textfield?.nativeFocusableElement ?? null;
|
|
45
|
-
}
|
|
46
|
-
get focused() {
|
|
47
|
-
return (tuiIsFocused(this.nativeFocusableElement) || !!this.dropdown?.tuiDropdownOpen);
|
|
48
|
-
}
|
|
49
|
-
get nativeValue() {
|
|
50
|
-
return this.value === null ? this.search || '' : this.stringify(this.value);
|
|
51
|
-
}
|
|
52
|
-
checkOption(option) {
|
|
53
|
-
if (!this.isStrictMatch(option)) {
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
this.value = option;
|
|
57
|
-
this.updateSearch(null);
|
|
58
|
-
}
|
|
59
|
-
handleOption(item) {
|
|
60
|
-
this.focusInput();
|
|
61
|
-
this.close();
|
|
62
|
-
this.updateSearch(null);
|
|
63
|
-
this.value = item;
|
|
64
|
-
if (this.value) {
|
|
65
|
-
this.setNativeValue(this.stringify(item));
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
onValueChange(value) {
|
|
69
|
-
this.updateSearch(value);
|
|
70
|
-
const match = this.accessor
|
|
71
|
-
?.getOptions()
|
|
72
|
-
.find((item) => this.isStrictMatch(item));
|
|
73
|
-
if (match !== undefined) {
|
|
74
|
-
this.value = match;
|
|
75
|
-
this.updateSearch(null);
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
if (this.strict || this.search === '') {
|
|
79
|
-
this.value = null;
|
|
80
|
-
}
|
|
81
|
-
// Clearing sets the empty value, the dropdown should not be opened on clear.
|
|
82
|
-
if (this.search !== '') {
|
|
83
|
-
this.open = true;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
toggle() {
|
|
87
|
-
if (this.interactive) {
|
|
88
|
-
this.open = !this.open;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
get arrow() {
|
|
92
|
-
return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;
|
|
93
|
-
}
|
|
94
|
-
get showValueTemplate() {
|
|
95
|
-
return tuiIsPresent(this.value) && !this.focused;
|
|
96
|
-
}
|
|
97
|
-
get computedContent() {
|
|
98
|
-
return this.valueContent || this.nativeValue;
|
|
99
|
-
}
|
|
100
|
-
onActiveZone(active) {
|
|
101
|
-
this.updateFocused(active);
|
|
102
|
-
}
|
|
103
|
-
onFieldKeyDownEnter(event) {
|
|
104
|
-
if (this.open) {
|
|
105
|
-
event.preventDefault();
|
|
106
|
-
}
|
|
107
|
-
const options = this.accessor?.getOptions() || [];
|
|
108
|
-
if (options.length !== 1) {
|
|
109
|
-
return;
|
|
110
|
-
}
|
|
111
|
-
this.value = options[0] ?? null;
|
|
112
|
-
this.updateSearch(null);
|
|
113
|
-
this.close();
|
|
114
|
-
}
|
|
115
|
-
isStrictMatch(item) {
|
|
116
|
-
return !!this.search && !!this.strictMatcher?.(item, this.search, this.stringify);
|
|
117
|
-
}
|
|
118
|
-
close() {
|
|
119
|
-
this.open = false;
|
|
120
|
-
}
|
|
121
|
-
updateSearch(search) {
|
|
122
|
-
if (this.search === search) {
|
|
123
|
-
return;
|
|
124
|
-
}
|
|
125
|
-
this.search = search;
|
|
126
|
-
this.searchChange.emit(search);
|
|
127
|
-
}
|
|
128
|
-
setNativeValue(value) {
|
|
129
|
-
if (this.nativeFocusableElement) {
|
|
130
|
-
this.nativeFocusableElement.value = value;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
focusInput(preventScroll = false) {
|
|
134
|
-
if (this.nativeFocusableElement) {
|
|
135
|
-
this.nativeFocusableElement.focus({ preventScroll });
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiComboBoxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
139
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiComboBoxComponent, isStandalone: false, selector: "tui-combo-box", inputs: { stringify: "stringify", strictMatcher: "strictMatcher", identityMatcher: "identityMatcher", valueContent: "valueContent", strict: "strict", search: "search" }, outputs: { searchChange: "searchChange" }, host: { properties: { "attr.data-size": "size" } }, providers: [
|
|
140
|
-
tuiAsFocusableItemAccessor(TuiComboBoxComponent),
|
|
141
|
-
tuiAsDataListHost(TuiComboBoxComponent),
|
|
142
|
-
tuiAsControl(TuiComboBoxComponent),
|
|
143
|
-
tuiAsOptionContent(TUI_SELECT_OPTION),
|
|
144
|
-
], queries: [{ propertyName: "accessor", first: true, predicate: TUI_DATA_LIST_ACCESSOR, descendants: true }, { propertyName: "datalist", first: true, predicate: TuiDataListDirective, descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "dropdown", first: true, predicate: TuiDropdownOpen, descendants: true }, { propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.TuiDropdownFixed }], ngImport: i0, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"interactive && !!datalist\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-combo-box__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"arrow ? icon : ''\"\n [value]=\"nativeValue\"\n (click)=\"toggle()\"\n (keydown.enter)=\"onFieldKeyDownEnter($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n @if (showValueTemplate) {\n <div\n automation-id=\"tui-combo-box__template\"\n ngProjectAs=\"tuiContent\"\n class=\"t-value\"\n >\n <ng-container\n *polymorpheusOutlet=\"computedContent as text; context: {$implicit: value!, active: computedFocused}\"\n >\n {{ text }}\n </ng-container>\n </div>\n }\n </tui-primitive-textfield>\n\n <ng-template #icon>\n <div\n appearance=\"icon\"\n tuiWrapper\n class=\"t-icon\"\n >\n <ng-container *polymorpheusOutlet=\"arrow\" />\n </div>\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-value{display:flex;inline-size:100%;align-items:center}.t-icon{pointer-events:auto}\n"], dependencies: [{ kind: "directive", type: i2.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i3.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i3.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i4.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { kind: "directive", type: i4.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i4.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { kind: "directive", type: i1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
145
|
-
}
|
|
146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiComboBoxComponent, decorators: [{
|
|
147
|
-
type: Component,
|
|
148
|
-
args: [{ standalone: false, selector: 'tui-combo-box', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
149
|
-
tuiAsFocusableItemAccessor(TuiComboBoxComponent),
|
|
150
|
-
tuiAsDataListHost(TuiComboBoxComponent),
|
|
151
|
-
tuiAsControl(TuiComboBoxComponent),
|
|
152
|
-
tuiAsOptionContent(TUI_SELECT_OPTION),
|
|
153
|
-
], hostDirectives: [TuiDropdownFixed], host: {
|
|
154
|
-
'[attr.data-size]': 'size',
|
|
155
|
-
}, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"interactive && !!datalist\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-combo-box__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"arrow ? icon : ''\"\n [value]=\"nativeValue\"\n (click)=\"toggle()\"\n (keydown.enter)=\"onFieldKeyDownEnter($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n @if (showValueTemplate) {\n <div\n automation-id=\"tui-combo-box__template\"\n ngProjectAs=\"tuiContent\"\n class=\"t-value\"\n >\n <ng-container\n *polymorpheusOutlet=\"computedContent as text; context: {$implicit: value!, active: computedFocused}\"\n >\n {{ text }}\n </ng-container>\n </div>\n }\n </tui-primitive-textfield>\n\n <ng-template #icon>\n <div\n appearance=\"icon\"\n tuiWrapper\n class=\"t-icon\"\n >\n <ng-container *polymorpheusOutlet=\"arrow\" />\n </div>\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-value{display:flex;inline-size:100%;align-items:center}.t-icon{pointer-events:auto}\n"] }]
|
|
156
|
-
}], propDecorators: { accessor: [{
|
|
157
|
-
type: ContentChild,
|
|
158
|
-
args: [TUI_DATA_LIST_ACCESSOR]
|
|
159
|
-
}], dropdown: [{
|
|
160
|
-
type: ViewChild,
|
|
161
|
-
args: [TuiDropdownOpen]
|
|
162
|
-
}], textfield: [{
|
|
163
|
-
type: ViewChild,
|
|
164
|
-
args: [TuiPrimitiveTextfieldComponent]
|
|
165
|
-
}], datalist: [{
|
|
166
|
-
type: ContentChild,
|
|
167
|
-
args: [TuiDataListDirective, { read: TemplateRef }]
|
|
168
|
-
}], stringify: [{
|
|
169
|
-
type: Input
|
|
170
|
-
}], strictMatcher: [{
|
|
171
|
-
type: Input
|
|
172
|
-
}], identityMatcher: [{
|
|
173
|
-
type: Input
|
|
174
|
-
}], valueContent: [{
|
|
175
|
-
type: Input
|
|
176
|
-
}], strict: [{
|
|
177
|
-
type: Input
|
|
178
|
-
}], search: [{
|
|
179
|
-
type: Input
|
|
180
|
-
}], searchChange: [{
|
|
181
|
-
type: Output
|
|
182
|
-
}] } });
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* TODO(v5): delete it
|
|
186
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead
|
|
187
|
-
*/
|
|
188
|
-
class TuiComboBoxDirective extends AbstractTuiTextfieldHost {
|
|
189
|
-
get value() {
|
|
190
|
-
return this.host.nativeValue;
|
|
191
|
-
}
|
|
192
|
-
onValueChange(value) {
|
|
193
|
-
this.host.onValueChange(value);
|
|
194
|
-
}
|
|
195
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiComboBoxDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
196
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiComboBoxDirective, isStandalone: false, selector: "tui-combo-box", providers: [tuiAsTextfieldHost(TuiComboBoxDirective)], usesInheritance: true, ngImport: i0 }); }
|
|
197
|
-
}
|
|
198
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiComboBoxDirective, decorators: [{
|
|
199
|
-
type: Directive,
|
|
200
|
-
args: [{
|
|
201
|
-
standalone: false,
|
|
202
|
-
selector: 'tui-combo-box',
|
|
203
|
-
providers: [tuiAsTextfieldHost(TuiComboBoxDirective)],
|
|
204
|
-
}]
|
|
205
|
-
}] });
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* TODO(v5): delete it
|
|
209
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead
|
|
210
|
-
*/
|
|
211
|
-
class TuiComboBoxStrictDirective {
|
|
212
|
-
constructor() {
|
|
213
|
-
this.comboBox = inject((TuiComboBoxComponent));
|
|
214
|
-
this.strict = true;
|
|
215
|
-
}
|
|
216
|
-
onInput() {
|
|
217
|
-
if (!this.strict && this.comboBox.search) {
|
|
218
|
-
this.comboBox.value = this.comboBox.search;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiComboBoxStrictDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
222
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiComboBoxStrictDirective, isStandalone: false, selector: "tui-combo-box[strict]", inputs: { strict: "strict" }, host: { listeners: { "input": "onInput()" } }, ngImport: i0 }); }
|
|
223
|
-
}
|
|
224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiComboBoxStrictDirective, decorators: [{
|
|
225
|
-
type: Directive,
|
|
226
|
-
args: [{
|
|
227
|
-
standalone: false,
|
|
228
|
-
selector: 'tui-combo-box[strict]',
|
|
229
|
-
host: {
|
|
230
|
-
'(input)': 'onInput()',
|
|
231
|
-
},
|
|
232
|
-
}]
|
|
233
|
-
}], propDecorators: { strict: [{
|
|
234
|
-
type: Input
|
|
235
|
-
}] } });
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* TODO(v5): delete it
|
|
239
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead
|
|
240
|
-
*/
|
|
241
|
-
class TuiComboBoxModule {
|
|
242
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiComboBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
243
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiComboBoxModule, declarations: [TuiComboBoxComponent,
|
|
244
|
-
TuiComboBoxStrictDirective,
|
|
245
|
-
TuiComboBoxDirective], imports: [CommonModule,
|
|
246
|
-
PolymorpheusOutlet,
|
|
247
|
-
PolymorpheusTemplate,
|
|
248
|
-
TuiPrimitiveTextfieldModule,
|
|
249
|
-
TuiSelectOptionModule,
|
|
250
|
-
TuiArrowComponent,
|
|
251
|
-
TuiWrapperModule,
|
|
252
|
-
TuiTextfieldControllerModule,
|
|
253
|
-
TuiLegacyDropdownOpenMonitorDirective, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContent, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection], exports: [TuiComboBoxComponent,
|
|
254
|
-
TuiComboBoxStrictDirective,
|
|
255
|
-
TuiComboBoxDirective,
|
|
256
|
-
TuiTextfieldComponent, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContent, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection] }); }
|
|
257
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiComboBoxModule, imports: [CommonModule,
|
|
258
|
-
TuiPrimitiveTextfieldModule,
|
|
259
|
-
TuiSelectOptionModule,
|
|
260
|
-
TuiArrowComponent,
|
|
261
|
-
TuiWrapperModule,
|
|
262
|
-
TuiTextfieldControllerModule, i1.TuiDropdownComponent] }); }
|
|
263
|
-
}
|
|
264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiComboBoxModule, decorators: [{
|
|
265
|
-
type: NgModule,
|
|
266
|
-
args: [{
|
|
267
|
-
imports: [
|
|
268
|
-
CommonModule,
|
|
269
|
-
PolymorpheusOutlet,
|
|
270
|
-
PolymorpheusTemplate,
|
|
271
|
-
TuiPrimitiveTextfieldModule,
|
|
272
|
-
TuiSelectOptionModule,
|
|
273
|
-
TuiArrowComponent,
|
|
274
|
-
TuiWrapperModule,
|
|
275
|
-
TuiTextfieldControllerModule,
|
|
276
|
-
TuiLegacyDropdownOpenMonitorDirective,
|
|
277
|
-
...TuiDropdown,
|
|
278
|
-
],
|
|
279
|
-
declarations: [
|
|
280
|
-
TuiComboBoxComponent,
|
|
281
|
-
TuiComboBoxStrictDirective,
|
|
282
|
-
TuiComboBoxDirective,
|
|
283
|
-
],
|
|
284
|
-
exports: [
|
|
285
|
-
TuiComboBoxComponent,
|
|
286
|
-
TuiComboBoxStrictDirective,
|
|
287
|
-
TuiComboBoxDirective,
|
|
288
|
-
TuiTextfieldComponent,
|
|
289
|
-
...TuiDropdown,
|
|
290
|
-
],
|
|
291
|
-
}]
|
|
292
|
-
}] });
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* Generated bundle index. Do not edit.
|
|
296
|
-
*/
|
|
297
|
-
|
|
298
|
-
export { TuiComboBoxComponent, TuiComboBoxDirective, TuiComboBoxModule, TuiComboBoxStrictDirective };
|
|
299
|
-
//# sourceMappingURL=taiga-ui-legacy-components-combo-box.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-legacy-components-combo-box.mjs","sources":["../../../projects/legacy/components/combo-box/combo-box.component.ts","../../../projects/legacy/components/combo-box/combo-box.template.html","../../../projects/legacy/components/combo-box/combo-box.directive.ts","../../../projects/legacy/components/combo-box/combo-box-strict.directive.ts","../../../projects/legacy/components/combo-box/combo-box.module.ts","../../../projects/legacy/components/combo-box/taiga-ui-legacy-components-combo-box.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n EventEmitter,\n inject,\n Input,\n Output,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {TUI_STRICT_MATCHER} from '@taiga-ui/cdk/constants';\nimport {type TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {type TuiContext, type TuiStringMatcher} from '@taiga-ui/cdk/types';\nimport {tuiIsFocused} from '@taiga-ui/cdk/utils/focus';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n TUI_DATA_LIST_ACCESSOR,\n tuiAsDataListHost,\n tuiAsOptionContent,\n type TuiDataListAccessor,\n TuiDataListDirective,\n type TuiDataListHost,\n} from '@taiga-ui/core/components/data-list';\nimport {TuiDropdownFixed, TuiDropdownOpen} from '@taiga-ui/core/directives/dropdown';\nimport {\n type TuiSizeL,\n type TuiSizeM,\n type TuiSizeS,\n type TuiValueContentContext,\n} from '@taiga-ui/core/types';\nimport {TUI_ITEMS_HANDLERS, type TuiItemsHandlers} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiNullableControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TUI_ARROW_MODE} from '@taiga-ui/legacy/components/arrow';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TUI_SELECT_OPTION} from '@taiga-ui/legacy/components/select-option';\nimport {TUI_TEXTFIELD_SIZE} from '@taiga-ui/legacy/directives';\nimport {\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\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/combo-box TuiComboBox} (from @taiga-ui/kit) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-combo-box',\n templateUrl: './combo-box.template.html',\n styleUrls: ['./combo-box.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiComboBoxComponent),\n tuiAsDataListHost(TuiComboBoxComponent),\n tuiAsControl(TuiComboBoxComponent),\n tuiAsOptionContent(TUI_SELECT_OPTION),\n ],\n hostDirectives: [TuiDropdownFixed],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiComboBoxComponent<T>\n extends AbstractTuiNullableControl<T>\n implements TuiFocusableElementAccessor, TuiDataListHost<T>\n{\n @ContentChild(TUI_DATA_LIST_ACCESSOR as any)\n private readonly accessor?: TuiDataListAccessor<T>;\n\n @ViewChild(TuiDropdownOpen)\n private readonly dropdown?: TuiDropdownOpen;\n\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly arrowMode = inject(TUI_ARROW_MODE);\n private readonly itemsHandlers = inject<TuiItemsHandlers<T>>(TUI_ITEMS_HANDLERS);\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;\n\n @Input()\n public stringify: TuiItemsHandlers<T>['stringify'] = this.itemsHandlers.stringify;\n\n @Input()\n public strictMatcher: TuiStringMatcher<T> | null = TUI_STRICT_MATCHER;\n\n @Input()\n public identityMatcher: TuiItemsHandlers<T>['identityMatcher'] =\n this.itemsHandlers.identityMatcher;\n\n @Input()\n public valueContent: PolymorpheusContent<TuiValueContentContext<T>>;\n\n @Input()\n public strict = true;\n\n @Input()\n public search: string | null = null;\n\n @Output()\n public readonly searchChange = new EventEmitter<string | null>();\n\n public open = false;\n\n public get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n public get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield?.nativeFocusableElement ?? null;\n }\n\n public get focused(): boolean {\n return (\n tuiIsFocused(this.nativeFocusableElement) || !!this.dropdown?.tuiDropdownOpen\n );\n }\n\n public get nativeValue(): string {\n return this.value === null ? this.search || '' : this.stringify(this.value);\n }\n\n public checkOption(option: T): void {\n if (!this.isStrictMatch(option)) {\n return;\n }\n\n this.value = option;\n this.updateSearch(null);\n }\n\n public handleOption(item: T): void {\n this.focusInput();\n this.close();\n this.updateSearch(null);\n this.value = item;\n\n if (this.value) {\n this.setNativeValue(this.stringify(item));\n }\n }\n\n public onValueChange(value: string): void {\n this.updateSearch(value);\n\n const match = this.accessor\n ?.getOptions()\n .find((item) => this.isStrictMatch(item));\n\n if (match !== undefined) {\n this.value = match;\n this.updateSearch(null);\n\n return;\n }\n\n if (this.strict || this.search === '') {\n this.value = null;\n }\n\n // Clearing sets the empty value, the dropdown should not be opened on clear.\n if (this.search !== '') {\n this.open = true;\n }\n }\n\n public toggle(): void {\n if (this.interactive) {\n this.open = !this.open;\n }\n }\n\n protected get arrow(): PolymorpheusContent<\n TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>\n > {\n return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;\n }\n\n protected get showValueTemplate(): boolean {\n return tuiIsPresent(this.value) && !this.focused;\n }\n\n protected get computedContent(): PolymorpheusContent<TuiValueContentContext<T>> {\n return this.valueContent || this.nativeValue;\n }\n\n protected onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n protected onFieldKeyDownEnter(event: Event): void {\n if (this.open) {\n event.preventDefault();\n }\n\n const options = this.accessor?.getOptions() || [];\n\n if (options.length !== 1) {\n return;\n }\n\n this.value = options[0] ?? null;\n this.updateSearch(null);\n this.close();\n }\n\n private isStrictMatch(item: T): boolean {\n return !!this.search && !!this.strictMatcher?.(item, this.search, this.stringify);\n }\n\n private close(): void {\n this.open = false;\n }\n\n private updateSearch(search: string | null): void {\n if (this.search === search) {\n return;\n }\n\n this.search = search;\n this.searchChange.emit(search);\n }\n\n private setNativeValue(value: string): void {\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.value = value;\n }\n }\n\n private focusInput(preventScroll = false): void {\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.focus({preventScroll});\n }\n }\n}\n","<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"interactive && !!datalist\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-combo-box__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"arrow ? icon : ''\"\n [value]=\"nativeValue\"\n (click)=\"toggle()\"\n (keydown.enter)=\"onFieldKeyDownEnter($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n @if (showValueTemplate) {\n <div\n automation-id=\"tui-combo-box__template\"\n ngProjectAs=\"tuiContent\"\n class=\"t-value\"\n >\n <ng-container\n *polymorpheusOutlet=\"computedContent as text; context: {$implicit: value!, active: computedFocused}\"\n >\n {{ text }}\n </ng-container>\n </div>\n }\n </tui-primitive-textfield>\n\n <ng-template #icon>\n <div\n appearance=\"icon\"\n tuiWrapper\n class=\"t-icon\"\n >\n <ng-container *polymorpheusOutlet=\"arrow\" />\n </div>\n </ng-template>\n</div>\n","import {Directive} from '@angular/core';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {type TuiComboBoxComponent} from './combo-box.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-combo-box',\n providers: [tuiAsTextfieldHost(TuiComboBoxDirective)],\n})\nexport class TuiComboBoxDirective extends AbstractTuiTextfieldHost<\n TuiComboBoxComponent<unknown>\n> {\n public override get value(): string {\n return this.host.nativeValue;\n }\n\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {Directive, inject, Input} from '@angular/core';\n\nimport {TuiComboBoxComponent} from './combo-box.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-combo-box[strict]',\n host: {\n '(input)': 'onInput()',\n },\n})\nexport class TuiComboBoxStrictDirective<T> {\n private readonly comboBox = inject(TuiComboBoxComponent<T | string>);\n\n @Input()\n public strict = true;\n\n protected onInput(): void {\n if (!this.strict && this.comboBox.search) {\n this.comboBox.value = this.comboBox.search;\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {TuiArrowComponent} from '@taiga-ui/legacy/components/arrow';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TuiSelectOptionModule} from '@taiga-ui/legacy/components/select-option';\nimport {\n TuiLegacyDropdownOpenMonitorDirective,\n TuiTextfieldControllerModule,\n TuiWrapperModule,\n} from '@taiga-ui/legacy/directives';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiComboBoxComponent} from './combo-box.component';\nimport {TuiComboBoxDirective} from './combo-box.directive';\nimport {TuiComboBoxStrictDirective} from './combo-box-strict.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n TuiPrimitiveTextfieldModule,\n TuiSelectOptionModule,\n TuiArrowComponent,\n TuiWrapperModule,\n TuiTextfieldControllerModule,\n TuiLegacyDropdownOpenMonitorDirective,\n ...TuiDropdown,\n ],\n declarations: [\n TuiComboBoxComponent,\n TuiComboBoxStrictDirective,\n TuiComboBoxDirective,\n ],\n exports: [\n TuiComboBoxComponent,\n TuiComboBoxStrictDirective,\n TuiComboBoxDirective,\n TuiTextfieldComponent,\n ...TuiDropdown,\n ],\n})\nexport class TuiComboBoxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AA2CA;;;AAGG;AAkBG,MAAO,oBACT,SAAQ,0BAA6B,CAAA;AAlBzC,IAAA,WAAA,GAAA;;AA8BqB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC;AAClC,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAsB,kBAAkB,CAAC;AAC/D,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAMpD,QAAA,IAAA,CAAA,SAAS,GAAqC,IAAI,CAAC,aAAa,CAAC,SAAS;QAG1E,IAAa,CAAA,aAAA,GAA+B,kBAAkB;AAG9D,QAAA,IAAA,CAAA,eAAe,GAClB,IAAI,CAAC,aAAa,CAAC,eAAe;QAM/B,IAAM,CAAA,MAAA,GAAG,IAAI;QAGb,IAAM,CAAA,MAAA,GAAkB,IAAI;AAGnB,QAAA,IAA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