@taiga-ui/legacy 4.52.0-canary.6043e8f → 4.52.0-canary.65c65f9
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/components/index.d.ts +3 -0
- package/components/input-copy/index.d.ts +4 -0
- package/components/input-copy/input-copy.component.d.ts +33 -0
- package/components/input-copy/input-copy.directive.d.ts +11 -0
- package/components/input-copy/input-copy.module.d.ts +18 -0
- package/components/input-copy/input-copy.options.d.ts +26 -0
- package/components/input-date-multi/index.d.ts +2 -0
- package/components/input-date-multi/input-date-multi.component.d.ts +66 -0
- package/components/input-date-multi/input-date-multi.module.d.ts +20 -0
- package/components/input-month/index.d.ts +3 -0
- package/components/input-month/input-month.component.d.ts +44 -0
- package/components/input-month/input-month.directive.d.ts +19 -0
- package/components/input-month/input-month.module.d.ts +19 -0
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +3 -2
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +197 -0
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +272 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs +231 -0
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +3 -2
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs +6 -6
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input.mjs +3 -2
- package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-select.mjs +3 -2
- package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components.mjs +3 -0
- package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
- package/package.json +13 -1
- package/utils/icons-path-factory.d.ts +1 -1
package/components/index.d.ts
CHANGED
|
@@ -3,9 +3,12 @@ export * from '@taiga-ui/legacy/components/color-selector';
|
|
|
3
3
|
export * from '@taiga-ui/legacy/components/combo-box';
|
|
4
4
|
export * from '@taiga-ui/legacy/components/input';
|
|
5
5
|
export * from '@taiga-ui/legacy/components/input-color';
|
|
6
|
+
export * from '@taiga-ui/legacy/components/input-copy';
|
|
6
7
|
export * from '@taiga-ui/legacy/components/input-date';
|
|
8
|
+
export * from '@taiga-ui/legacy/components/input-date-multi';
|
|
7
9
|
export * from '@taiga-ui/legacy/components/input-date-range';
|
|
8
10
|
export * from '@taiga-ui/legacy/components/input-date-time';
|
|
11
|
+
export * from '@taiga-ui/legacy/components/input-month';
|
|
9
12
|
export * from '@taiga-ui/legacy/components/input-month-range';
|
|
10
13
|
export * from '@taiga-ui/legacy/components/input-number';
|
|
11
14
|
export * from '@taiga-ui/legacy/components/input-phone';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type TuiHintDirection } from '@taiga-ui/core/directives/hint';
|
|
2
|
+
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
3
|
+
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
4
|
+
import { type TuiFocusableElementAccessor, type TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens';
|
|
5
|
+
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
6
|
+
import { type Observable } from 'rxjs';
|
|
7
|
+
import { type TuiInputCopyOptions } from './input-copy.options';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
11
|
+
*/
|
|
12
|
+
export declare class TuiInputCopyComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
|
|
13
|
+
private readonly textfield?;
|
|
14
|
+
private readonly copied$;
|
|
15
|
+
private readonly doc;
|
|
16
|
+
private readonly copyTexts$;
|
|
17
|
+
private readonly options;
|
|
18
|
+
private readonly textfieldSize;
|
|
19
|
+
successMessage: PolymorpheusContent;
|
|
20
|
+
messageDirection: TuiHintDirection;
|
|
21
|
+
messageAppearance: string;
|
|
22
|
+
get nativeFocusableElement(): TuiNativeFocusableElement | null;
|
|
23
|
+
get focused(): boolean;
|
|
24
|
+
onValueChange(value: string): void;
|
|
25
|
+
protected get hintText$(): Observable<PolymorpheusContent>;
|
|
26
|
+
protected get size(): TuiSizeL | TuiSizeS;
|
|
27
|
+
protected get icon(): TuiInputCopyOptions['icon'];
|
|
28
|
+
protected onFocused(focused: boolean): void;
|
|
29
|
+
protected copy(): void;
|
|
30
|
+
protected getFallbackValue(): string;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCopyComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputCopyComponent, "tui-input-copy", never, { "successMessage": { "alias": "successMessage"; "required": false; }; "messageDirection": { "alias": "messageDirection"; "required": false; }; "messageAppearance": { "alias": "messageAppearance"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
2
|
+
import { type TuiInputCopyComponent } from './input-copy.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
6
|
+
*/
|
|
7
|
+
export declare class TuiInputCopyDirective extends AbstractTuiTextfieldHost<TuiInputCopyComponent> {
|
|
8
|
+
onValueChange(value: string): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCopyDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputCopyDirective, "tui-input-copy", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-copy.component";
|
|
3
|
+
import * as i2 from "./input-copy.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@taiga-ui/polymorpheus";
|
|
6
|
+
import * as i5 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
7
|
+
import * as i6 from "@taiga-ui/legacy/directives";
|
|
8
|
+
import * as i7 from "@taiga-ui/core/directives/appearance";
|
|
9
|
+
import * as i8 from "@taiga-ui/core/components/icon";
|
|
10
|
+
import * as i9 from "@taiga-ui/core/directives/hint";
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
13
|
+
*/
|
|
14
|
+
export declare class TuiInputCopyModule {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCopyModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputCopyModule, [typeof i1.TuiInputCopyComponent, typeof i2.TuiInputCopyDirective], [typeof i3.CommonModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiTextfieldControllerModule, typeof i7.TuiAppearance, typeof i8.TuiIcon, typeof i9.TuiHintComponent, typeof i9.TuiHintDirective, typeof i9.TuiHintOptionsDirective, typeof i9.TuiHintUnstyled, typeof i9.TuiHintDriver, typeof i9.TuiHintPosition, typeof i9.TuiHintHover, typeof i9.TuiHintOverflow, typeof i9.TuiHintDescribe, typeof i9.TuiHintHost, typeof i9.TuiHintManual, typeof i9.TuiHintPointer], [typeof i1.TuiInputCopyComponent, typeof i2.TuiInputCopyDirective, typeof i5.TuiTextfieldComponent, typeof i9.TuiHintComponent, typeof i9.TuiHintDirective, typeof i9.TuiHintOptionsDirective, typeof i9.TuiHintUnstyled, typeof i9.TuiHintDriver, typeof i9.TuiHintPosition, typeof i9.TuiHintHover, typeof i9.TuiHintOverflow, typeof i9.TuiHintDescribe, typeof i9.TuiHintHost, typeof i9.TuiHintManual, typeof i9.TuiHintPointer]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputCopyModule>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
+
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
3
|
+
import { type TuiHintDirection } from '@taiga-ui/core/directives/hint';
|
|
4
|
+
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
5
|
+
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
8
|
+
*/
|
|
9
|
+
export interface TuiInputCopyOptions {
|
|
10
|
+
readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
11
|
+
readonly messageAppearance: string;
|
|
12
|
+
readonly messageDirection: TuiHintDirection;
|
|
13
|
+
readonly successMessage: PolymorpheusContent;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
17
|
+
*/
|
|
18
|
+
export declare const TUI_INPUT_COPY_DEFAULT_OPTIONS: TuiInputCopyOptions;
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
21
|
+
*/
|
|
22
|
+
export declare const TUI_INPUT_COPY_OPTIONS: InjectionToken<TuiInputCopyOptions>;
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
25
|
+
*/
|
|
26
|
+
export declare function tuiInputCopyOptionsProvider(options: Partial<TuiInputCopyOptions>): Provider;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { type MaskitoOptions } from '@maskito/core';
|
|
2
|
+
import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
3
|
+
import { TuiDay, TuiMonth } from '@taiga-ui/cdk/date-time';
|
|
4
|
+
import { type TuiBooleanHandler, type TuiMapper } from '@taiga-ui/cdk/types';
|
|
5
|
+
import { type TuiMarkerHandler } from '@taiga-ui/core/components/calendar';
|
|
6
|
+
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
7
|
+
import { type TuiInputDateOptions } from '@taiga-ui/kit/tokens';
|
|
8
|
+
import { AbstractTuiMultipleControl, TuiStringifiableItem } from '@taiga-ui/legacy/classes';
|
|
9
|
+
import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
10
|
+
import { type Observable } from 'rxjs';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class TuiInputDateMultiComponent extends AbstractTuiMultipleControl<TuiDay> implements TuiFocusableElementAccessor {
|
|
13
|
+
private readonly textfield?;
|
|
14
|
+
private readonly inputTag?;
|
|
15
|
+
private month;
|
|
16
|
+
private readonly mobileCalendar;
|
|
17
|
+
private readonly options;
|
|
18
|
+
private readonly textfieldSize;
|
|
19
|
+
protected readonly dateTexts$: Observable<Record<import("@taiga-ui/cdk/date-time").TuiDateMode, string>>;
|
|
20
|
+
protected readonly valueTransformer: TuiValueTransformer<readonly TuiDay[], unknown> | null;
|
|
21
|
+
protected open: boolean;
|
|
22
|
+
protected dateFormat: import("@taiga-ui/core/tokens").TuiDateFormatSettings;
|
|
23
|
+
protected readonly isMobile: boolean;
|
|
24
|
+
protected readonly doneWord$: Observable<string>;
|
|
25
|
+
protected readonly filler$: Observable<string>;
|
|
26
|
+
protected readonly dateFormat$: import("rxjs").Subscription;
|
|
27
|
+
min: TuiDay | null;
|
|
28
|
+
max: TuiDay | null;
|
|
29
|
+
disabledItemHandler: TuiBooleanHandler<TuiDay>;
|
|
30
|
+
markerHandler: TuiMarkerHandler | null;
|
|
31
|
+
defaultActiveYearMonth: TuiMonth;
|
|
32
|
+
inputHidden: boolean;
|
|
33
|
+
editable: boolean;
|
|
34
|
+
search: string | null;
|
|
35
|
+
placeholder: string;
|
|
36
|
+
rows: number;
|
|
37
|
+
readonly maskitoOptions: MaskitoOptions;
|
|
38
|
+
get nativeFocusableElement(): HTMLInputElement | null;
|
|
39
|
+
get focused(): boolean;
|
|
40
|
+
tagValidator: TuiBooleanHandler<string>;
|
|
41
|
+
setDisabledState(): void;
|
|
42
|
+
protected get size(): TuiSizeL | TuiSizeS;
|
|
43
|
+
protected get nativeDropdownMode(): boolean;
|
|
44
|
+
protected get computedMin(): TuiDay;
|
|
45
|
+
protected get computedMax(): TuiDay;
|
|
46
|
+
protected get computedMobile(): boolean;
|
|
47
|
+
protected get calendarIcon(): TuiInputDateOptions['icon'];
|
|
48
|
+
protected get computedActiveYearMonth(): TuiMonth;
|
|
49
|
+
protected onClick(): void;
|
|
50
|
+
protected onIconClick(): void;
|
|
51
|
+
protected readonly disabledItemHandlerWrapper: TuiMapper<[
|
|
52
|
+
TuiBooleanHandler<string> | TuiBooleanHandler<TuiDay>
|
|
53
|
+
], TuiBooleanHandler<TuiStringifiableItem<any> | string>>;
|
|
54
|
+
protected readonly valueMapper: TuiMapper<[
|
|
55
|
+
readonly TuiDay[]
|
|
56
|
+
], ReadonlyArray<TuiStringifiableItem<TuiDay>>>;
|
|
57
|
+
protected onEnter(search: string): void;
|
|
58
|
+
protected onValueChange(value: ReadonlyArray<TuiStringifiableItem<TuiDay>>): void;
|
|
59
|
+
protected onDayClick(value: TuiDay): void;
|
|
60
|
+
protected done(): void;
|
|
61
|
+
protected onMonthChange(month: TuiMonth): void;
|
|
62
|
+
protected onOpenChange(open: boolean): void;
|
|
63
|
+
protected onFocused(focused: boolean): void;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateMultiComponent, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputDateMultiComponent, "tui-input-date[multiple]", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "markerHandler": { "alias": "markerHandler"; "required": false; }; "defaultActiveYearMonth": { "alias": "defaultActiveYearMonth"; "required": false; }; "inputHidden": { "alias": "inputHidden"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "search": { "alias": "search"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "tagValidator": { "alias": "tagValidator"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-date-multi.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@maskito/angular";
|
|
5
|
+
import * as i4 from "@taiga-ui/polymorpheus";
|
|
6
|
+
import * as i5 from "@taiga-ui/core/components/calendar";
|
|
7
|
+
import * as i6 from "@taiga-ui/core/components/link";
|
|
8
|
+
import * as i7 from "@taiga-ui/legacy/components/input-tag";
|
|
9
|
+
import * as i8 from "@angular/forms";
|
|
10
|
+
import * as i9 from "@taiga-ui/cdk/pipes/mapper";
|
|
11
|
+
import * as i10 from "@taiga-ui/legacy/directives";
|
|
12
|
+
import * as i11 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
13
|
+
import * as i12 from "@taiga-ui/core/components/icon";
|
|
14
|
+
import * as i13 from "@taiga-ui/core/directives/appearance";
|
|
15
|
+
import * as i14 from "@taiga-ui/core/directives/dropdown";
|
|
16
|
+
export declare class TuiInputDateMultiModule {
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateMultiModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateMultiModule, [typeof i1.TuiInputDateMultiComponent], [typeof i2.CommonModule, typeof i3.MaskitoDirective, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiCalendar, typeof i6.TuiLink, typeof i7.TuiInputTagModule, typeof i8.FormsModule, typeof i9.TuiMapperPipe, typeof i10.TuiTextfieldControllerModule, typeof i11.TuiPrimitiveTextfieldModule, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i12.TuiIcon, typeof i13.TuiAppearance, typeof i14.TuiDropdownOptionsDirective, typeof i14.TuiDropdownDriverDirective, typeof i14.TuiDropdownDirective, typeof i14.TuiDropdownComponent, typeof i14.TuiDropdownOpen, typeof i14.TuiDropdownOpenLegacy, typeof i14.TuiDropdownPortal, typeof i14.TuiDropdownManual, typeof i14.TuiDropdownHover, typeof i14.TuiDropdownContext, typeof i14.TuiDropdownPosition, typeof i14.TuiDropdownPositionSided, typeof i14.TuiDropdownSelection], [typeof i1.TuiInputDateMultiComponent, typeof i14.TuiDropdownOptionsDirective, typeof i14.TuiDropdownDriverDirective, typeof i14.TuiDropdownDirective, typeof i14.TuiDropdownComponent, typeof i14.TuiDropdownOpen, typeof i14.TuiDropdownOpenLegacy, typeof i14.TuiDropdownPortal, typeof i14.TuiDropdownManual, typeof i14.TuiDropdownHover, typeof i14.TuiDropdownContext, typeof i14.TuiDropdownPosition, typeof i14.TuiDropdownPositionSided, typeof i14.TuiDropdownSelection]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateMultiModule>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { TuiMonth, type TuiYear } from '@taiga-ui/cdk/date-time';
|
|
2
|
+
import { type TuiBooleanHandler } from '@taiga-ui/cdk/types';
|
|
3
|
+
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
4
|
+
import { type TuiInputDateOptions } from '@taiga-ui/kit/tokens';
|
|
5
|
+
import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
|
|
6
|
+
import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* TODO(v5): delete it
|
|
10
|
+
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-month TuiInputMonth} (from @taiga-ui/kit) instead
|
|
11
|
+
*/
|
|
12
|
+
export declare class TuiInputMonthComponent extends AbstractTuiNullableControl<TuiMonth> implements TuiFocusableElementAccessor {
|
|
13
|
+
private readonly textfield?;
|
|
14
|
+
private readonly isMobile;
|
|
15
|
+
private readonly options;
|
|
16
|
+
private readonly textfieldSize;
|
|
17
|
+
protected readonly formatter: import("@taiga-ui/cdk/types").TuiHandler<TuiMonth | null, import("rxjs").Observable<string>>;
|
|
18
|
+
protected activeYear?: TuiYear;
|
|
19
|
+
min: TuiMonth | null;
|
|
20
|
+
max: TuiMonth | null;
|
|
21
|
+
disabledItemHandler: TuiBooleanHandler<TuiMonth>;
|
|
22
|
+
defaultActiveYear: TuiYear;
|
|
23
|
+
open: boolean;
|
|
24
|
+
get nativeFocusableElement(): HTMLInputElement | null;
|
|
25
|
+
get focused(): boolean;
|
|
26
|
+
onValueChange(value: string): void;
|
|
27
|
+
onMonthClick(month: TuiMonth): void;
|
|
28
|
+
setDisabledState(): void;
|
|
29
|
+
protected get size(): TuiSizeL | TuiSizeS;
|
|
30
|
+
protected get computedMin(): TuiMonth;
|
|
31
|
+
protected get computedMax(): TuiMonth;
|
|
32
|
+
protected get computedDefaultActiveYear(): TuiYear;
|
|
33
|
+
protected get calendarIcon(): TuiInputDateOptions['icon'];
|
|
34
|
+
protected get nativePicker(): boolean;
|
|
35
|
+
protected get nativePickerMin(): string;
|
|
36
|
+
protected get nativePickerMax(): string;
|
|
37
|
+
protected get nativeValue(): string;
|
|
38
|
+
protected onNativeChange(value: string): void;
|
|
39
|
+
protected onFocused(focused: boolean): void;
|
|
40
|
+
protected onOpenChange(open: boolean): void;
|
|
41
|
+
private close;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputMonthComponent, "tui-input-month", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "defaultActiveYear": { "alias": "defaultActiveYear"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type DoCheck } from '@angular/core';
|
|
2
|
+
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
3
|
+
import { type TuiInputMonthComponent } from './input-month.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* TODO(v5): delete it
|
|
7
|
+
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-month TuiInputMonth} (from @taiga-ui/kit) instead
|
|
8
|
+
*/
|
|
9
|
+
export declare class TuiInputMonthDirective extends AbstractTuiTextfieldHost<TuiInputMonthComponent> implements DoCheck {
|
|
10
|
+
private readonly value$;
|
|
11
|
+
private localizedValue;
|
|
12
|
+
protected readonly $: import("rxjs").Subscription;
|
|
13
|
+
get readOnly(): boolean;
|
|
14
|
+
get value(): string;
|
|
15
|
+
ngDoCheck(): void;
|
|
16
|
+
onValueChange(value: string): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputMonthDirective, "tui-input-month", never, {}, {}, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-month.component";
|
|
3
|
+
import * as i2 from "./input-month.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@taiga-ui/kit/components/calendar-month";
|
|
6
|
+
import * as i5 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
7
|
+
import * as i6 from "@taiga-ui/cdk/pipes/mapper";
|
|
8
|
+
import * as i7 from "@taiga-ui/legacy/directives";
|
|
9
|
+
import * as i8 from "@angular/forms";
|
|
10
|
+
import * as i9 from "@taiga-ui/core/directives/dropdown";
|
|
11
|
+
/**
|
|
12
|
+
* TODO(v5): delete it
|
|
13
|
+
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-month TuiInputMonth} (from @taiga-ui/kit) instead
|
|
14
|
+
*/
|
|
15
|
+
export declare class TuiInputMonthModule {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthModule, never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputMonthModule, [typeof i1.TuiInputMonthComponent, typeof i2.TuiInputMonthDirective], [typeof i3.CommonModule, typeof i4.TuiCalendarMonth, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiMapperPipe, typeof i7.TuiTextfieldControllerModule, typeof i8.FormsModule, typeof i7.TuiLegacyDropdownOpenMonitorDirective, typeof i9.TuiDropdownOptionsDirective, typeof i9.TuiDropdownDriverDirective, typeof i9.TuiDropdownDirective, typeof i9.TuiDropdownComponent, typeof i9.TuiDropdownOpen, typeof i9.TuiDropdownOpenLegacy, typeof i9.TuiDropdownPortal, typeof i9.TuiDropdownManual, typeof i9.TuiDropdownHover, typeof i9.TuiDropdownContext, typeof i9.TuiDropdownPosition, typeof i9.TuiDropdownPositionSided, typeof i9.TuiDropdownSelection], [typeof i1.TuiInputMonthComponent, typeof i2.TuiInputMonthDirective, typeof i5.TuiTextfieldComponent, typeof i9.TuiDropdownOptionsDirective, typeof i9.TuiDropdownDriverDirective, typeof i9.TuiDropdownDirective, typeof i9.TuiDropdownComponent, typeof i9.TuiDropdownOpen, typeof i9.TuiDropdownOpenLegacy, typeof i9.TuiDropdownPortal, typeof i9.TuiDropdownManual, typeof i9.TuiDropdownHover, typeof i9.TuiDropdownContext, typeof i9.TuiDropdownPosition, typeof i9.TuiDropdownPositionSided, typeof i9.TuiDropdownSelection]>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputMonthModule>;
|
|
19
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { inject, EventEmitter, TemplateRef, Output, Input, ContentChild, ViewChild, ChangeDetectionStrategy, Component, Directive, NgModule } from '@angular/core';
|
|
3
3
|
import { TUI_STRICT_MATCHER } from '@taiga-ui/cdk/constants';
|
|
4
|
-
import {
|
|
4
|
+
import { tuiIsNativeFocused } from '@taiga-ui/cdk/utils/focus';
|
|
5
5
|
import { tuiIsPresent } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
6
6
|
import { TUI_DATA_LIST_ACCESSOR, TuiDataListDirective, tuiAsDataListHost, tuiAsOptionContent } from '@taiga-ui/core/components/data-list';
|
|
7
7
|
import * as i1 from '@taiga-ui/core/directives/dropdown';
|
|
@@ -44,7 +44,8 @@ class TuiComboBoxComponent extends AbstractTuiNullableControl {
|
|
|
44
44
|
return this.textfield?.nativeFocusableElement ?? null;
|
|
45
45
|
}
|
|
46
46
|
get focused() {
|
|
47
|
-
return (
|
|
47
|
+
return (tuiIsNativeFocused(this.nativeFocusableElement) ||
|
|
48
|
+
!!this.dropdown?.tuiDropdownOpen);
|
|
48
49
|
}
|
|
49
50
|
get nativeValue() {
|
|
50
51
|
return this.value === null ? this.search || '' : this.stringify(this.value);
|
|
@@ -1 +1 @@
|
|
|
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,QA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AAA,CAAA,oBAAA,EAAA,EAAA,CAAA,eAAA,EAAA,EAAA,CAAA,qBAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,EAAA,CAAA,mBAAA,EAAA,EAAA,CAAA,wBAAA,EAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,CAAA;AAIhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAxBtB,YAAY;YAGZ,2BAA2B;YAC3B,qBAAqB;YACrB,iBAAiB;YACjB,gBAAgB;YAChB,4BAA4B,EAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,CAAA;;4FAiBvB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBA1B7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,kBAAkB;wBAClB,oBAAoB;wBACpB,2BAA2B;wBAC3B,qBAAqB;wBACrB,iBAAiB;wBACjB,gBAAgB;wBAChB,4BAA4B;wBAC5B,qCAAqC;AACrC,wBAAA,GAAG,WAAW;AACjB,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACV,oBAAoB;wBACpB,0BAA0B;wBAC1B,oBAAoB;AACvB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,oBAAoB;wBACpB,0BAA0B;wBAC1B,oBAAoB;wBACpB,qBAAqB;AACrB,wBAAA,GAAG,WAAW;AACjB,qBAAA;AACJ,iBAAA;;;ACjDD;;AAEG;;;;"}
|
|
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 {tuiIsNativeFocused} 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 tuiIsNativeFocused(this.nativeFocusableElement) ||\n !!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,IAAA,CAAA,YAAY,GAAG,IAAI,YAAY,EAAiB;QAEzD,IAAI,CAAA,IAAA,GAAG,KAAK;AAqItB;AAnIG,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,aAAa,C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