@taiga-ui/legacy 4.52.0-canary.6c67ccf → 4.52.0-canary.9fae831
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/color-selector/color-selector.module.d.ts +11 -12
- package/components/index.d.ts +0 -8
- package/components/input-phone/input-phone.component.d.ts +3 -0
- package/components/input-phone/input-phone.directive.d.ts +3 -0
- package/components/input-phone/input-phone.module.d.ts +3 -0
- package/components/input-phone/input-phone.options.d.ts +10 -1
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -4
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +2 -3
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +18 -4
- 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 +2 -3
- 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 +2 -3
- 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 +0 -8
- package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
- package/package.json +28 -60
- package/utils/icons-path-factory.d.ts +1 -1
- package/components/input-copy/index.d.ts +0 -4
- package/components/input-copy/input-copy.component.d.ts +0 -33
- package/components/input-copy/input-copy.directive.d.ts +0 -11
- package/components/input-copy/input-copy.module.d.ts +0 -18
- package/components/input-copy/input-copy.options.d.ts +0 -26
- package/components/input-date-multi/index.d.ts +0 -2
- package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
- package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
- package/components/input-month/index.d.ts +0 -3
- package/components/input-month/input-month.component.d.ts +0 -44
- package/components/input-month/input-month.directive.d.ts +0 -19
- package/components/input-month/input-month.module.d.ts +0 -19
- package/components/input-password/index.d.ts +0 -4
- package/components/input-password/input-password.component.d.ts +0 -33
- package/components/input-password/input-password.directive.d.ts +0 -15
- package/components/input-password/input-password.module.d.ts +0 -19
- package/components/input-password/input-password.options.d.ts +0 -25
- package/components/input-year/index.d.ts +0 -3
- package/components/input-year/input-year.component.d.ts +0 -36
- package/components/input-year/input-year.directive.d.ts +0 -14
- package/components/input-year/input-year.module.d.ts +0 -18
- package/components/island/index.d.ts +0 -1
- package/components/island/island.directive.d.ts +0 -20
- package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
- package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
- package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -11
- package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
- package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
- package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
- package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
- package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
- package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
- package/components/sheet/index.d.ts +0 -14
- package/components/sheet/sheet-options.d.ts +0 -27
- package/components/sheet/sheet-tokens.d.ts +0 -18
- package/components/sheet/sheet.d.ts +0 -21
- package/components/sheet/sheet.directive.d.ts +0 -17
- package/components/sheet/sheet.module.d.ts +0 -24
- package/components/sheet/sheet.service.d.ts +0 -17
- package/components/table-bar/index.d.ts +0 -4
- package/components/table-bar/table-bar.component.d.ts +0 -17
- package/components/table-bar/table-bar.directive.d.ts +0 -11
- package/components/table-bar/table-bar.options.d.ts +0 -31
- package/components/table-bar/table-bars-host.component.d.ts +0 -10
- package/components/table-bar/table-bars.service.d.ts +0 -11
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
- package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -577
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -147
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
|
|
2
|
-
import { type TuiSheet } from './sheet';
|
|
3
|
-
import { type TuiSheetOptions } from './sheet-options';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated: use {@link TuiSheetDialog}
|
|
7
|
-
* https://taiga-ui.dev/components/sheet-dialog
|
|
8
|
-
*/
|
|
9
|
-
export declare class TuiSheetDirective extends PolymorpheusTemplate<TuiSheet<never>> {
|
|
10
|
-
private readonly service;
|
|
11
|
-
private readonly open$;
|
|
12
|
-
options: Partial<TuiSheetOptions>;
|
|
13
|
-
readonly tuiSheetChange: import("rxjs").Observable<boolean>;
|
|
14
|
-
set tuiSheet(open: boolean);
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSheetDirective, "ng-template[tuiSheet]", never, { "options": { "alias": "tuiSheetOptions"; "required": false; }; "tuiSheet": { "alias": "tuiSheet"; "required": false; }; }, { "tuiSheetChange": "tuiSheetChange"; }, never, never, false, never>;
|
|
17
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/sheets-host/sheets-host.component";
|
|
3
|
-
import * as i2 from "./components/sheet/sheet.component";
|
|
4
|
-
import * as i3 from "./components/sheet-bar/sheet-bar.component";
|
|
5
|
-
import * as i4 from "./components/sheet-heading/sheet-heading.component";
|
|
6
|
-
import * as i5 from "./directives/sheet-top/sheet-top.directive";
|
|
7
|
-
import * as i6 from "./sheet.directive";
|
|
8
|
-
import * as i7 from "./directives/sheet-wrapper/sheet-wrapper.directive";
|
|
9
|
-
import * as i8 from "./directives/sheet-close/sheet-close.directive";
|
|
10
|
-
import * as i9 from "./directives/sheet-stop/sheet-stop.directive";
|
|
11
|
-
import * as i10 from "@angular/common";
|
|
12
|
-
import * as i11 from "@taiga-ui/polymorpheus";
|
|
13
|
-
import * as i12 from "@taiga-ui/cdk/directives/let";
|
|
14
|
-
import * as i13 from "@taiga-ui/core/components/button";
|
|
15
|
-
import * as i14 from "@taiga-ui/core/components/scrollbar";
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated: use {@link TuiSheetDialog}
|
|
18
|
-
* https://taiga-ui.dev/components/sheet-dialog
|
|
19
|
-
*/
|
|
20
|
-
export declare class TuiSheetModule {
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetModule, never>;
|
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSheetModule, [typeof i1.TuiSheetsHostComponent, typeof i2.TuiSheetComponent, typeof i3.TuiSheetBarComponent, typeof i4.TuiSheetHeadingComponent, typeof i5.TuiSheetTopDirective, typeof i6.TuiSheetDirective, typeof i7.TuiSheetWrapperDirective, typeof i8.TuiSheetCloseDirective, typeof i9.TuiSheetStopDirective], [typeof i10.CommonModule, typeof i11.PolymorpheusOutlet, typeof i11.PolymorpheusTemplate, typeof i12.TuiLet, typeof i13.TuiButton, typeof i14.TuiScrollbar], [typeof i1.TuiSheetsHostComponent, typeof i2.TuiSheetComponent, typeof i4.TuiSheetHeadingComponent, typeof i6.TuiSheetDirective]>;
|
|
23
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiSheetModule>;
|
|
24
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
2
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
-
import { type TuiSheet } from './sheet';
|
|
4
|
-
import { type TuiSheetOptions } from './sheet-options';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated: use {@link TuiSheetDialogService}
|
|
8
|
-
* https://taiga-ui.dev/components/sheet-dialog
|
|
9
|
-
*/
|
|
10
|
-
export declare class TuiSheetService {
|
|
11
|
-
private readonly doc;
|
|
12
|
-
private readonly options;
|
|
13
|
-
readonly sheets$: BehaviorSubject<TuiSheet<any, any>[]>;
|
|
14
|
-
open<G>(content: PolymorpheusContent<TuiSheet<G>>, options?: Partial<TuiSheetOptions>): Observable<G>;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TuiSheetService>;
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type TuiPopover } from '@taiga-ui/cdk/services';
|
|
2
|
-
import { type TuiTableBarOptions } from './table-bar.options';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
6
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
7
|
-
*/
|
|
8
|
-
export declare class TuiTableBarComponent {
|
|
9
|
-
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
10
|
-
protected readonly closeWord$: import("rxjs").Observable<string>;
|
|
11
|
-
protected readonly context: TuiPopover<TuiTableBarOptions, void>;
|
|
12
|
-
protected readonly animation: import("@angular/animations").AnimationOptions;
|
|
13
|
-
protected getTheme(appearance: string): string | null;
|
|
14
|
-
protected close(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableBarComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTableBarComponent, "tui-table-bar", never, {}, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
|
|
2
|
-
import { type TuiTableBarOptions } from './table-bar.options';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
6
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
7
|
-
*/
|
|
8
|
-
export declare class TuiTableBarDirective extends TuiPopoverDirective<TuiTableBarOptions> {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableBarDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableBarDirective, "ng-template[tuiTableBar]", never, { "open": { "alias": "tuiTableBar"; "required": false; }; "options": { "alias": "tuiTableBarOptions"; "required": false; }; }, { "openChange": "tuiTableBarChange"; }, never, never, true, never>;
|
|
11
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
5
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
6
|
-
*/
|
|
7
|
-
export interface TuiTableBarOptions {
|
|
8
|
-
readonly adaptive?: boolean;
|
|
9
|
-
readonly hasCloseButton?: boolean;
|
|
10
|
-
readonly mode?: 'onDark' | 'onLight';
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
14
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
15
|
-
*/
|
|
16
|
-
export declare const TUI_TABLE_BARS: InjectionToken<BehaviorSubject<readonly any[]>>;
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
19
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
20
|
-
*/
|
|
21
|
-
export declare const TUI_TABLE_BAR_DEFAULT_OPTIONS: TuiTableBarOptions;
|
|
22
|
-
/**
|
|
23
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
24
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
25
|
-
*/
|
|
26
|
-
export declare const TUI_TABLE_BAR_OPTIONS: InjectionToken<TuiTableBarOptions>;
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
29
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
30
|
-
*/
|
|
31
|
-
export declare function tuiTableBarOptionsProvider(options: Partial<TuiTableBarOptions>): Provider;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
4
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
5
|
-
*/
|
|
6
|
-
export declare class TuiTableBarsHostComponent {
|
|
7
|
-
protected bars$: import("rxjs").BehaviorSubject<readonly any[]>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableBarsHostComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTableBarsHostComponent, "tui-table-bars-host", never, {}, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TuiPopoverService } from '@taiga-ui/cdk/services';
|
|
2
|
-
import { type TuiTableBarOptions } from './table-bar.options';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
6
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
7
|
-
*/
|
|
8
|
-
export declare class TuiTableBarsService extends TuiPopoverService<TuiTableBarOptions> {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableBarsService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TuiTableBarsService>;
|
|
11
|
-
}
|
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
import { __decorate } from 'tslib';
|
|
2
|
-
import * as i7 from '@angular/common';
|
|
3
|
-
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
4
|
-
import * as i0 from '@angular/core';
|
|
5
|
-
import { InjectionToken, inject, Input, ViewChild, ChangeDetectionStrategy, Component, Directive, NgModule } from '@angular/core';
|
|
6
|
-
import { tuiProvideOptions, tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
7
|
-
import { TUI_COPY_TEXTS } from '@taiga-ui/kit/tokens';
|
|
8
|
-
import { AbstractTuiControl, tuiAsControl, AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
9
|
-
import * as i2 from '@taiga-ui/legacy/components/primitive-textfield';
|
|
10
|
-
import { TuiPrimitiveTextfieldComponent, TuiTextfieldComponent, TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
|
|
11
|
-
import * as i3 from '@taiga-ui/legacy/directives';
|
|
12
|
-
import { TUI_TEXTFIELD_SIZE, TUI_VALUE_ACCESSOR_PROVIDER, TuiTextfieldControllerModule } from '@taiga-ui/legacy/directives';
|
|
13
|
-
import { tuiAsFocusableItemAccessor, tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
|
|
14
|
-
import { BehaviorSubject, switchMap, of, merge, timer, map } from 'rxjs';
|
|
15
|
-
import * as i1 from '@taiga-ui/polymorpheus';
|
|
16
|
-
import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
|
|
17
|
-
import * as i4 from '@taiga-ui/core/directives/appearance';
|
|
18
|
-
import { TuiAppearance } from '@taiga-ui/core/directives/appearance';
|
|
19
|
-
import * as i5 from '@taiga-ui/core/components/icon';
|
|
20
|
-
import { TuiIcon } from '@taiga-ui/core/components/icon';
|
|
21
|
-
import * as i1$1 from '@taiga-ui/core/directives/hint';
|
|
22
|
-
import { TuiHint } from '@taiga-ui/core/directives/hint';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
26
|
-
*/
|
|
27
|
-
const TUI_INPUT_COPY_DEFAULT_OPTIONS = {
|
|
28
|
-
successMessage: '',
|
|
29
|
-
messageDirection: 'bottom-left',
|
|
30
|
-
messageAppearance: '',
|
|
31
|
-
icon: () => '@tui.copy',
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
35
|
-
*/
|
|
36
|
-
const TUI_INPUT_COPY_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_INPUT_COPY_OPTIONS' : '', {
|
|
37
|
-
factory: () => TUI_INPUT_COPY_DEFAULT_OPTIONS,
|
|
38
|
-
});
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
41
|
-
*/
|
|
42
|
-
function tuiInputCopyOptionsProvider(options) {
|
|
43
|
-
return tuiProvideOptions(TUI_INPUT_COPY_OPTIONS, options, TUI_INPUT_COPY_DEFAULT_OPTIONS);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
48
|
-
*/
|
|
49
|
-
class TuiInputCopyComponent extends AbstractTuiControl {
|
|
50
|
-
constructor() {
|
|
51
|
-
super(...arguments);
|
|
52
|
-
this.copied$ = new BehaviorSubject(false);
|
|
53
|
-
this.doc = inject(DOCUMENT);
|
|
54
|
-
this.copyTexts$ = inject(TUI_COPY_TEXTS);
|
|
55
|
-
this.options = inject(TUI_INPUT_COPY_OPTIONS);
|
|
56
|
-
this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
|
|
57
|
-
this.successMessage = this.options.successMessage;
|
|
58
|
-
this.messageDirection = this.options.messageDirection;
|
|
59
|
-
this.messageAppearance = this.options.messageAppearance;
|
|
60
|
-
}
|
|
61
|
-
get nativeFocusableElement() {
|
|
62
|
-
return this.computedDisabled || !this.textfield
|
|
63
|
-
? null
|
|
64
|
-
: this.textfield.nativeFocusableElement;
|
|
65
|
-
}
|
|
66
|
-
get focused() {
|
|
67
|
-
return !!this.textfield?.focused;
|
|
68
|
-
}
|
|
69
|
-
onValueChange(value) {
|
|
70
|
-
this.value = value;
|
|
71
|
-
}
|
|
72
|
-
get hintText$() {
|
|
73
|
-
return this.copyTexts$.pipe(switchMap((texts) => this.copied$.pipe(switchMap((copied) => {
|
|
74
|
-
if (!copied) {
|
|
75
|
-
return of(texts[0]);
|
|
76
|
-
}
|
|
77
|
-
this.copied$.next(false);
|
|
78
|
-
return merge(of(this.successMessage || texts[1]), timer(3000).pipe(map(() => texts[0])));
|
|
79
|
-
}))));
|
|
80
|
-
}
|
|
81
|
-
get size() {
|
|
82
|
-
return this.textfieldSize.size;
|
|
83
|
-
}
|
|
84
|
-
get icon() {
|
|
85
|
-
return this.options.icon;
|
|
86
|
-
}
|
|
87
|
-
onFocused(focused) {
|
|
88
|
-
this.updateFocused(focused);
|
|
89
|
-
}
|
|
90
|
-
copy() {
|
|
91
|
-
if (!this.textfield?.nativeFocusableElement) {
|
|
92
|
-
return;
|
|
93
|
-
}
|
|
94
|
-
this.textfield.nativeFocusableElement.select();
|
|
95
|
-
this.doc.execCommand('copy');
|
|
96
|
-
this.copied$.next(true);
|
|
97
|
-
}
|
|
98
|
-
getFallbackValue() {
|
|
99
|
-
return '';
|
|
100
|
-
}
|
|
101
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputCopyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
102
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputCopyComponent, isStandalone: false, selector: "tui-input-copy", inputs: { successMessage: "successMessage", messageDirection: "messageDirection", messageAppearance: "messageAppearance" }, host: { properties: { "attr.data-size": "size" } }, providers: [
|
|
103
|
-
TUI_VALUE_ACCESSOR_PROVIDER,
|
|
104
|
-
tuiAsFocusableItemAccessor(TuiInputCopyComponent),
|
|
105
|
-
tuiAsControl(TuiInputCopyComponent),
|
|
106
|
-
], viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"!disabled ? iconContent : ''\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n>\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n</tui-primitive-textfield>\n\n<ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n automation-id=\"tui-copy__icon\"\n tuiAppearance=\"icon\"\n class=\"t-icon\"\n [class.t-icon_small]=\"size === 's'\"\n [icon]=\"src.toString()\"\n [tuiAppearanceState]=\"!value ? 'disabled' : null\"\n [tuiHint]=\"hint\"\n [tuiHintAppearance]=\"messageAppearance\"\n [tuiHintDirection]=\"messageDirection\"\n (click)=\"copy()\"\n />\n</ng-template>\n\n<ng-template #hint>\n <ng-container *polymorpheusOutlet=\"hintText$ | async as text\">\n {{ text }}\n </ng-container>\n</ng-template>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-icon{position:relative;cursor:pointer;pointer-events:auto}.t-icon_small:before{font-size:1rem}.t-textfield{border-radius:inherit;text-align:inherit}\n"], dependencies: [{ kind: "directive", type: i1.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i2.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i2.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i3.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i4.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "component", type: i5.TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: i1$1.TuiHintDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHintContext", "tuiHintAppearance", "tuiHint"], outputs: ["tuiHintVisible"] }, { kind: "pipe", type: i7.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
107
|
-
}
|
|
108
|
-
__decorate([
|
|
109
|
-
tuiPure
|
|
110
|
-
], TuiInputCopyComponent.prototype, "hintText$", null);
|
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputCopyComponent, decorators: [{
|
|
112
|
-
type: Component,
|
|
113
|
-
args: [{ standalone: false, selector: 'tui-input-copy', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
114
|
-
TUI_VALUE_ACCESSOR_PROVIDER,
|
|
115
|
-
tuiAsFocusableItemAccessor(TuiInputCopyComponent),
|
|
116
|
-
tuiAsControl(TuiInputCopyComponent),
|
|
117
|
-
], host: {
|
|
118
|
-
'[attr.data-size]': 'size',
|
|
119
|
-
}, template: "<tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"!disabled ? iconContent : ''\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n>\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n</tui-primitive-textfield>\n\n<ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n automation-id=\"tui-copy__icon\"\n tuiAppearance=\"icon\"\n class=\"t-icon\"\n [class.t-icon_small]=\"size === 's'\"\n [icon]=\"src.toString()\"\n [tuiAppearanceState]=\"!value ? 'disabled' : null\"\n [tuiHint]=\"hint\"\n [tuiHintAppearance]=\"messageAppearance\"\n [tuiHintDirection]=\"messageDirection\"\n (click)=\"copy()\"\n />\n</ng-template>\n\n<ng-template #hint>\n <ng-container *polymorpheusOutlet=\"hintText$ | async as text\">\n {{ text }}\n </ng-container>\n</ng-template>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-icon{position:relative;cursor:pointer;pointer-events:auto}.t-icon_small:before{font-size:1rem}.t-textfield{border-radius:inherit;text-align:inherit}\n"] }]
|
|
120
|
-
}], propDecorators: { textfield: [{
|
|
121
|
-
type: ViewChild,
|
|
122
|
-
args: [TuiPrimitiveTextfieldComponent]
|
|
123
|
-
}], successMessage: [{
|
|
124
|
-
type: Input
|
|
125
|
-
}], messageDirection: [{
|
|
126
|
-
type: Input
|
|
127
|
-
}], messageAppearance: [{
|
|
128
|
-
type: Input
|
|
129
|
-
}], hintText$: [] } });
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
133
|
-
*/
|
|
134
|
-
class TuiInputCopyDirective extends AbstractTuiTextfieldHost {
|
|
135
|
-
onValueChange(value) {
|
|
136
|
-
this.host.onValueChange(value);
|
|
137
|
-
}
|
|
138
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputCopyDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
139
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputCopyDirective, isStandalone: false, selector: "tui-input-copy", providers: [tuiAsTextfieldHost(TuiInputCopyDirective)], usesInheritance: true, ngImport: i0 }); }
|
|
140
|
-
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputCopyDirective, decorators: [{
|
|
142
|
-
type: Directive,
|
|
143
|
-
args: [{
|
|
144
|
-
standalone: false,
|
|
145
|
-
selector: 'tui-input-copy',
|
|
146
|
-
providers: [tuiAsTextfieldHost(TuiInputCopyDirective)],
|
|
147
|
-
}]
|
|
148
|
-
}] });
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
152
|
-
*/
|
|
153
|
-
class TuiInputCopyModule {
|
|
154
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputCopyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
155
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInputCopyModule, declarations: [TuiInputCopyComponent, TuiInputCopyDirective], imports: [CommonModule,
|
|
156
|
-
PolymorpheusOutlet,
|
|
157
|
-
PolymorpheusTemplate,
|
|
158
|
-
TuiPrimitiveTextfieldModule,
|
|
159
|
-
TuiTextfieldControllerModule,
|
|
160
|
-
TuiAppearance,
|
|
161
|
-
TuiIcon, i1$1.TuiHintComponent, i1$1.TuiHintDirective, i1$1.TuiHintOptionsDirective, i1$1.TuiHintUnstyled, i1$1.TuiHintDriver, i1$1.TuiHintPosition, i1$1.TuiHintHover, i1$1.TuiHintOverflow, i1$1.TuiHintDescribe, i1$1.TuiHintHost, i1$1.TuiHintManual, i1$1.TuiHintPointer], exports: [TuiInputCopyComponent,
|
|
162
|
-
TuiInputCopyDirective,
|
|
163
|
-
TuiTextfieldComponent, i1$1.TuiHintComponent, i1$1.TuiHintDirective, i1$1.TuiHintOptionsDirective, i1$1.TuiHintUnstyled, i1$1.TuiHintDriver, i1$1.TuiHintPosition, i1$1.TuiHintHover, i1$1.TuiHintOverflow, i1$1.TuiHintDescribe, i1$1.TuiHintHost, i1$1.TuiHintManual, i1$1.TuiHintPointer] }); }
|
|
164
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputCopyModule, imports: [CommonModule,
|
|
165
|
-
TuiPrimitiveTextfieldModule,
|
|
166
|
-
TuiTextfieldControllerModule,
|
|
167
|
-
TuiIcon, i1$1.TuiHintComponent] }); }
|
|
168
|
-
}
|
|
169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputCopyModule, decorators: [{
|
|
170
|
-
type: NgModule,
|
|
171
|
-
args: [{
|
|
172
|
-
imports: [
|
|
173
|
-
CommonModule,
|
|
174
|
-
PolymorpheusOutlet,
|
|
175
|
-
PolymorpheusTemplate,
|
|
176
|
-
TuiPrimitiveTextfieldModule,
|
|
177
|
-
TuiTextfieldControllerModule,
|
|
178
|
-
TuiAppearance,
|
|
179
|
-
TuiIcon,
|
|
180
|
-
...TuiHint,
|
|
181
|
-
],
|
|
182
|
-
declarations: [TuiInputCopyComponent, TuiInputCopyDirective],
|
|
183
|
-
exports: [
|
|
184
|
-
TuiInputCopyComponent,
|
|
185
|
-
TuiInputCopyDirective,
|
|
186
|
-
TuiTextfieldComponent,
|
|
187
|
-
...TuiHint,
|
|
188
|
-
],
|
|
189
|
-
}]
|
|
190
|
-
}] });
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Generated bundle index. Do not edit.
|
|
194
|
-
*/
|
|
195
|
-
|
|
196
|
-
export { TUI_INPUT_COPY_DEFAULT_OPTIONS, TUI_INPUT_COPY_OPTIONS, TuiInputCopyComponent, TuiInputCopyDirective, TuiInputCopyModule, tuiInputCopyOptionsProvider };
|
|
197
|
-
//# sourceMappingURL=taiga-ui-legacy-components-input-copy.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-legacy-components-input-copy.mjs","sources":["../../../projects/legacy/components/input-copy/input-copy.options.ts","../../../projects/legacy/components/input-copy/input-copy.component.ts","../../../projects/legacy/components/input-copy/input-copy.template.html","../../../projects/legacy/components/input-copy/input-copy.directive.ts","../../../projects/legacy/components/input-copy/input-copy.module.ts","../../../projects/legacy/components/input-copy/taiga-ui-legacy-components-input-copy.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiHintDirection} from '@taiga-ui/core/directives/hint';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * @deprecated use {@link TuiCopy} with {@link TuiTextfield}\n */\nexport interface TuiInputCopyOptions {\n readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n readonly messageAppearance: string;\n readonly messageDirection: TuiHintDirection;\n readonly successMessage: PolymorpheusContent;\n}\n\n/**\n * @deprecated use {@link TuiCopy} with {@link TuiTextfield}\n */\nexport const TUI_INPUT_COPY_DEFAULT_OPTIONS: TuiInputCopyOptions = {\n successMessage: '',\n messageDirection: 'bottom-left',\n messageAppearance: '',\n icon: () => '@tui.copy',\n};\n\n/**\n * @deprecated use {@link TuiCopy} with {@link TuiTextfield}\n */\nexport const TUI_INPUT_COPY_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_COPY_OPTIONS' : '',\n {\n factory: () => TUI_INPUT_COPY_DEFAULT_OPTIONS,\n },\n);\n\n/**\n * @deprecated use {@link TuiCopy} with {@link TuiTextfield}\n */\nexport function tuiInputCopyOptionsProvider(\n options: Partial<TuiInputCopyOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_INPUT_COPY_OPTIONS,\n options,\n TUI_INPUT_COPY_DEFAULT_OPTIONS,\n );\n}\n","import {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n ViewChild,\n} from '@angular/core';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiHintDirection} from '@taiga-ui/core/directives/hint';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {TUI_COPY_TEXTS} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n TUI_TEXTFIELD_SIZE,\n TUI_VALUE_ACCESSOR_PROVIDER,\n} from '@taiga-ui/legacy/directives';\nimport {\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n type TuiNativeFocusableElement,\n} from '@taiga-ui/legacy/tokens';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\nimport {BehaviorSubject, map, merge, type Observable, of, switchMap, timer} from 'rxjs';\n\nimport {TUI_INPUT_COPY_OPTIONS, type TuiInputCopyOptions} from './input-copy.options';\n\n/**\n * @deprecated use {@link TuiCopy} with {@link TuiTextfield}\n */\n@Component({\n standalone: false,\n selector: 'tui-input-copy',\n templateUrl: './input-copy.template.html',\n styleUrls: ['./input-copy.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n TUI_VALUE_ACCESSOR_PROVIDER,\n tuiAsFocusableItemAccessor(TuiInputCopyComponent),\n tuiAsControl(TuiInputCopyComponent),\n ],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiInputCopyComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly copied$ = new BehaviorSubject<boolean>(false);\n private readonly doc = inject(DOCUMENT);\n private readonly copyTexts$ = inject(TUI_COPY_TEXTS);\n private readonly options = inject(TUI_INPUT_COPY_OPTIONS);\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n\n @Input()\n public successMessage = this.options.successMessage;\n\n @Input()\n public messageDirection: TuiHintDirection = this.options.messageDirection;\n\n @Input()\n public messageAppearance = this.options.messageAppearance;\n\n public get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.computedDisabled || !this.textfield\n ? null\n : this.textfield.nativeFocusableElement;\n }\n\n public get focused(): boolean {\n return !!this.textfield?.focused;\n }\n\n public onValueChange(value: string): void {\n this.value = value;\n }\n\n @tuiPure\n protected get hintText$(): Observable<PolymorpheusContent> {\n return this.copyTexts$.pipe(\n switchMap((texts) =>\n this.copied$.pipe(\n switchMap((copied) => {\n if (!copied) {\n return of(texts[0]);\n }\n\n this.copied$.next(false);\n\n return merge(\n of(this.successMessage || texts[1]),\n timer(3000).pipe(map(() => texts[0])),\n );\n }),\n ),\n ),\n );\n }\n\n protected get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n protected get icon(): TuiInputCopyOptions['icon'] {\n return this.options.icon;\n }\n\n protected onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n protected copy(): void {\n if (!this.textfield?.nativeFocusableElement) {\n return;\n }\n\n this.textfield.nativeFocusableElement.select();\n this.doc.execCommand('copy');\n this.copied$.next(true);\n }\n\n protected getFallbackValue(): string {\n return '';\n }\n}\n","<tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"!disabled ? iconContent : ''\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n>\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n</tui-primitive-textfield>\n\n<ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n automation-id=\"tui-copy__icon\"\n tuiAppearance=\"icon\"\n class=\"t-icon\"\n [class.t-icon_small]=\"size === 's'\"\n [icon]=\"src.toString()\"\n [tuiAppearanceState]=\"!value ? 'disabled' : null\"\n [tuiHint]=\"hint\"\n [tuiHintAppearance]=\"messageAppearance\"\n [tuiHintDirection]=\"messageDirection\"\n (click)=\"copy()\"\n />\n</ng-template>\n\n<ng-template #hint>\n <ng-container *polymorpheusOutlet=\"hintText$ | async as text\">\n {{ text }}\n </ng-container>\n</ng-template>\n","import {Directive} from '@angular/core';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {type TuiInputCopyComponent} from './input-copy.component';\n\n/**\n * @deprecated use {@link TuiCopy} with {@link TuiTextfield}\n */\n@Directive({\n standalone: false,\n selector: 'tui-input-copy',\n providers: [tuiAsTextfieldHost(TuiInputCopyDirective)],\n})\nexport class TuiInputCopyDirective extends AbstractTuiTextfieldHost<TuiInputCopyComponent> {\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiAppearance} from '@taiga-ui/core/directives/appearance';\nimport {TuiHint} from '@taiga-ui/core/directives/hint';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TuiTextfieldControllerModule} from '@taiga-ui/legacy/directives';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiInputCopyComponent} from './input-copy.component';\nimport {TuiInputCopyDirective} from './input-copy.directive';\n\n/**\n * @deprecated use {@link TuiCopy} with {@link TuiTextfield}\n */\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiAppearance,\n TuiIcon,\n ...TuiHint,\n ],\n declarations: [TuiInputCopyComponent, TuiInputCopyDirective],\n exports: [\n TuiInputCopyComponent,\n TuiInputCopyDirective,\n TuiTextfieldComponent,\n ...TuiHint,\n ],\n})\nexport class TuiInputCopyModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i6","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAiBA;;AAEG;AACU,MAAA,8BAA8B,GAAwB;AAC/D,IAAA,cAAc,EAAE,EAAE;AAClB,IAAA,gBAAgB,EAAE,aAAa;AAC/B,IAAA,iBAAiB,EAAE,EAAE;AACrB,IAAA,IAAI,EAAE,MAAM,WAAW;;AAG3B;;AAEG;AACU,MAAA,sBAAsB,GAAG,IAAI,cAAc,CACpD,SAAS,GAAG,wBAAwB,GAAG,EAAE,EACzC;AACI,IAAA,OAAO,EAAE,MAAM,8BAA8B;AAChD,CAAA;AAGL;;AAEG;AACG,SAAU,2BAA2B,CACvC,OAAqC,EAAA;IAErC,OAAO,iBAAiB,CACpB,sBAAsB,EACtB,OAAO,EACP,8BAA8B,CACjC;AACL;;ACpBA;;AAEG;AAgBG,MAAO,qBACT,SAAQ,kBAA0B,CAAA;AAhBtC,IAAA,WAAA,GAAA;;AAsBqB,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,eAAe,CAAU,KAAK,CAAC;AAC7C,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC;AACtB,QAAA,IAAA,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