@taiga-ui/legacy 4.52.0-canary.a4e325d → 4.52.0-canary.bf9131e
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/dialog/dialog.component.d.ts +20 -0
- package/components/dialog/dialog.directive.d.ts +7 -0
- package/components/dialog/dialog.factory.d.ts +16 -0
- package/components/dialog/dialog.interfaces.d.ts +31 -0
- package/components/dialog/dialog.service.d.ts +7 -0
- package/components/dialog/dialog.tokens.d.ts +8 -0
- package/components/dialog/index.d.ts +6 -0
- package/components/index.d.ts +2 -16
- package/components/input/input.module.d.ts +1 -1
- package/components/input-date-range/input-date-range.module.d.ts +1 -1
- package/components/input-date-time/input-date-time.component.d.ts +4 -3
- package/components/input-date-time/input-date-time.module.d.ts +1 -1
- package/components/input-month-range/input-month-range.module.d.ts +1 -1
- package/components/input-range/input-range.component.d.ts +1 -1
- package/components/input-tag/input-tag.module.d.ts +1 -1
- package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +1 -1
- package/components/multi-select/multi-select.module.d.ts +1 -1
- package/components/pdf-viewer/index.d.ts +4 -0
- package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
- package/components/pdf-viewer/pdf-viewer.directive.d.ts +7 -0
- package/components/pdf-viewer/pdf-viewer.options.d.ts +13 -0
- package/components/pdf-viewer/pdf-viewer.service.d.ts +13 -0
- package/components/select/select.module.d.ts +1 -1
- package/fesm2022/taiga-ui-legacy-classes.mjs +21 -21
- package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs +129 -0
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +26 -26
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +29 -29
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +12 -12
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs +21 -21
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs +25 -25
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +18 -19
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +22 -22
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input.mjs +14 -15
- package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +7 -7
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +48 -48
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +82 -0
- package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +28 -28
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs +8 -8
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-select.mjs +33 -34
- package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-tag.mjs +13 -14
- package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs +23 -23
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +7 -7
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components.mjs +2 -16
- package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +34 -34
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +4 -5
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +7 -7
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +7 -7
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy.mjs +0 -2
- package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
- package/index.d.ts +0 -2
- package/package.json +12 -88
- package/utils/icons-path-factory.d.ts +1 -1
- package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
- package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
- package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
- package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
- package/components/color-selector/color-selector.component.d.ts +0 -47
- package/components/color-selector/color-selector.module.d.ts +0 -24
- package/components/color-selector/color-selector.options.d.ts +0 -25
- package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
- package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
- package/components/color-selector/index.d.ts +0 -16
- package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
- package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
- package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
- package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
- package/components/color-selector/palette/palette.component.d.ts +0 -10
- package/components/color-selector/palette/palette.module.d.ts +0 -13
- package/components/color-selector/services/picker.service.d.ts +0 -15
- 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-color/index.d.ts +0 -2
- package/components/input-color/input-color.component.d.ts +0 -30
- package/components/input-color/input-color.module.d.ts +0 -17
- 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/index.d.ts +0 -3
- package/components/input-date/input-date.component.d.ts +0 -62
- package/components/input-date/input-date.directive.d.ts +0 -19
- package/components/input-date/input-date.module.d.ts +0 -24
- package/components/input-date/native-date/native-date.component.d.ts +0 -15
- 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-phone/index.d.ts +0 -4
- package/components/input-phone/input-phone.component.d.ts +0 -49
- package/components/input-phone/input-phone.directive.d.ts +0 -13
- package/components/input-phone/input-phone.module.d.ts +0 -12
- package/components/input-phone/input-phone.options.d.ts +0 -13
- package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
- package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
- package/components/input-phone/utils/index.d.ts +0 -2
- package/components/input-phone-international/index.d.ts +0 -3
- package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
- package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
- package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
- package/components/input-time/index.d.ts +0 -4
- package/components/input-time/input-time.component.d.ts +0 -62
- package/components/input-time/input-time.directive.d.ts +0 -17
- package/components/input-time/input-time.module.d.ts +0 -23
- package/components/input-time/input-time.options.d.ts +0 -42
- package/components/input-time/native-time/native-time.component.d.ts +0 -12
- 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/svg/content-processor.d.ts +0 -19
- package/components/svg/deprecated-icons.d.ts +0 -5
- package/components/svg/index.d.ts +0 -5
- package/components/svg/svg-options.d.ts +0 -50
- package/components/svg/svg.component.d.ts +0 -50
- package/components/svg/svg.service.d.ts +0 -21
- 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-color-selector.mjs +0 -730
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -301
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
- 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-date.mjs +0 -372
- package/fesm2022/taiga-ui-legacy-components-input-date.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-phone-international.mjs +0 -215
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -434
- package/fesm2022/taiga-ui-legacy-components-input-time.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-svg.mjs +0 -387
- package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -145
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
- package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
- package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
- package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
- package/pipes/format-phone/index.d.ts +0 -1
- package/pipes/index.d.ts +0 -3
- package/pipes/iso-to-country-code/index.d.ts +0 -1
- package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
- package/pipes/to-country-code/index.d.ts +0 -1
- package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
- package/services/index.d.ts +0 -1
- package/services/static-request.service.d.ts +0 -11
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type TuiPopover } from '@taiga-ui/cdk/services';
|
|
2
|
+
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { type TuiDialogOptions, type TuiDialogSize } from './dialog.interfaces';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@taiga-ui/cdk/directives/animated";
|
|
7
|
+
export declare class TuiDialogComponent<O, I> {
|
|
8
|
+
protected readonly close$: Subject<void>;
|
|
9
|
+
protected readonly context: TuiPopover<TuiDialogOptions<I>, O>;
|
|
10
|
+
protected readonly closeWord: import("@angular/core").Signal<string>;
|
|
11
|
+
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
12
|
+
protected readonly from: import("@angular/core").Signal<"translateY(100vh)" | "translateY(2.5rem)">;
|
|
13
|
+
protected readonly isMobile: import("@angular/core").Signal<boolean | undefined>;
|
|
14
|
+
constructor();
|
|
15
|
+
protected get size(): TuiDialogSize;
|
|
16
|
+
protected get header(): PolymorpheusContent<TuiPopover<TuiDialogOptions<I>, O>>;
|
|
17
|
+
private close;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialogComponent<any, any>, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDialogComponent<any, any>, "tui-dialog-legacy", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
|
|
2
|
+
import { type TuiDialogOptions } from './dialog.interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TuiDialog<T> extends TuiPopoverDirective<TuiDialogOptions<T>> {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialog<any>, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDialog<any>, "ng-template[tuiDialog]", never, { "options": { "alias": "tuiDialogOptions"; "required": false; }; "open": { "alias": "tuiDialog"; "required": false; }; }, { "openChange": "tuiDialogChange"; }, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type Injector } from '@angular/core';
|
|
2
|
+
import { type Observable } from 'rxjs';
|
|
3
|
+
import { type TuiDialogContext, type TuiDialogOptions } from './dialog.interfaces';
|
|
4
|
+
type SingleUnionOrNever<T, U = T> = [T] extends [never] ? never : T extends U ? [U] extends [T] ? T : never : never;
|
|
5
|
+
type ReplaceAny<T> = 0 extends T & 1 ? void : T;
|
|
6
|
+
type ContextKeys<T> = {
|
|
7
|
+
[K in keyof T]: ReplaceAny<T[K]> extends TuiDialogContext<any, any> | null ? K : never;
|
|
8
|
+
}[keyof T];
|
|
9
|
+
type AssertNotMultipleContexts<T, K extends keyof T> = [K] extends [never] ? new (...args: any[]) => T : [SingleUnionOrNever<K>] extends [never] ? 'Component has multiple context. Cannot determine the type...' : new (...args: any[]) => T;
|
|
10
|
+
type ExtractDialogData<T, K extends keyof T = ContextKeys<T>> = [K] extends [never] ? void : [SingleUnionOrNever<K>] extends [never] ? never : T[K] extends TuiDialogContext<any, infer D> | null ? D : void;
|
|
11
|
+
type ExtractDialogResult<T, K extends keyof T = ContextKeys<T>> = [K] extends [never] ? void : [SingleUnionOrNever<K>] extends [never] ? never : T[K] extends TuiDialogContext<infer R, any> | null ? R : void;
|
|
12
|
+
type Options<T> = Omit<TuiDialogOptions<T>, 'data'> & {
|
|
13
|
+
injector: Injector;
|
|
14
|
+
};
|
|
15
|
+
export declare function tuiDialog<T, K extends ContextKeys<T>, D extends ExtractDialogData<T, K>, R extends ExtractDialogResult<T, K>>(component: AssertNotMultipleContexts<T, K>, { injector, ...options }?: Partial<Options<D>>): (data: D) => Observable<R>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type TuiPopover, type TuiPopoverContext } from '@taiga-ui/cdk/services';
|
|
2
|
+
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
3
|
+
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
|
+
import { type Observable } from 'rxjs';
|
|
5
|
+
export type TuiDialogSize = TuiSizeL | TuiSizeS | 'auto' | 'fullscreen' | 'page';
|
|
6
|
+
/**
|
|
7
|
+
* Options for a dialog
|
|
8
|
+
*
|
|
9
|
+
* appearance - data-appearance attribute of the dialog ('' by default)
|
|
10
|
+
* size - size of the dialog ('m' by default)
|
|
11
|
+
* required - closing dialog throws (false by default)
|
|
12
|
+
* closable - show close button (true by default)
|
|
13
|
+
* dismissible - close dialog by Esc button or click on overlay (true by default)
|
|
14
|
+
* label - string title for the dialog ('' by default)
|
|
15
|
+
* header - content above title ('' by default)
|
|
16
|
+
* data - arbitrary data for dialog
|
|
17
|
+
*/
|
|
18
|
+
export interface TuiDialogOptions<I> {
|
|
19
|
+
readonly appearance: string;
|
|
20
|
+
readonly closable: Observable<boolean> | boolean;
|
|
21
|
+
readonly data: I extends void ? undefined : I & {
|
|
22
|
+
button?: string;
|
|
23
|
+
};
|
|
24
|
+
readonly dismissible: Observable<boolean> | boolean;
|
|
25
|
+
readonly header: PolymorpheusContent<TuiPopover<TuiDialogOptions<I>, any>>;
|
|
26
|
+
readonly label: string;
|
|
27
|
+
readonly required: boolean;
|
|
28
|
+
readonly size: TuiDialogSize;
|
|
29
|
+
}
|
|
30
|
+
export interface TuiDialogContext<O = void, I = undefined> extends TuiPopoverContext<O>, TuiDialogOptions<I> {
|
|
31
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TuiPopoverService } from '@taiga-ui/cdk/services';
|
|
2
|
+
import { type TuiDialogOptions } from './dialog.interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TuiDialogService extends TuiPopoverService<TuiDialogOptions<any>> {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialogService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TuiDialogService>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
+
import { type TuiDialogOptions } from './dialog.interfaces';
|
|
3
|
+
export declare const TUI_DIALOG_DEFAULT_OPTIONS: TuiDialogOptions<void>;
|
|
4
|
+
/**
|
|
5
|
+
* Default parameters for dialog component
|
|
6
|
+
*/
|
|
7
|
+
export declare const TUI_DIALOG_OPTIONS: InjectionToken<TuiDialogOptions<void>>;
|
|
8
|
+
export declare function tuiDialogOptionsProvider(options: Partial<TuiDialogOptions<unknown>>): Provider;
|
package/components/index.d.ts
CHANGED
|
@@ -1,33 +1,19 @@
|
|
|
1
1
|
export * from '@taiga-ui/legacy/components/arrow';
|
|
2
|
-
export * from '@taiga-ui/legacy/components/
|
|
3
|
-
export * from '@taiga-ui/legacy/components/combo-box';
|
|
2
|
+
export * from '@taiga-ui/legacy/components/dialog';
|
|
4
3
|
export * from '@taiga-ui/legacy/components/input';
|
|
5
|
-
export * from '@taiga-ui/legacy/components/input-color';
|
|
6
|
-
export * from '@taiga-ui/legacy/components/input-copy';
|
|
7
|
-
export * from '@taiga-ui/legacy/components/input-date';
|
|
8
|
-
export * from '@taiga-ui/legacy/components/input-date-multi';
|
|
9
4
|
export * from '@taiga-ui/legacy/components/input-date-range';
|
|
10
5
|
export * from '@taiga-ui/legacy/components/input-date-time';
|
|
11
|
-
export * from '@taiga-ui/legacy/components/input-month';
|
|
12
6
|
export * from '@taiga-ui/legacy/components/input-month-range';
|
|
13
7
|
export * from '@taiga-ui/legacy/components/input-number';
|
|
14
|
-
export * from '@taiga-ui/legacy/components/input-password';
|
|
15
|
-
export * from '@taiga-ui/legacy/components/input-phone';
|
|
16
|
-
export * from '@taiga-ui/legacy/components/input-phone-international';
|
|
17
8
|
export * from '@taiga-ui/legacy/components/input-range';
|
|
18
9
|
export * from '@taiga-ui/legacy/components/input-slider';
|
|
19
10
|
export * from '@taiga-ui/legacy/components/input-tag';
|
|
20
|
-
export * from '@taiga-ui/legacy/components/input-time';
|
|
21
|
-
export * from '@taiga-ui/legacy/components/input-year';
|
|
22
|
-
export * from '@taiga-ui/legacy/components/island';
|
|
23
11
|
export * from '@taiga-ui/legacy/components/multi-select';
|
|
24
12
|
export * from '@taiga-ui/legacy/components/multi-select-option';
|
|
13
|
+
export * from '@taiga-ui/legacy/components/pdf-viewer';
|
|
25
14
|
export * from '@taiga-ui/legacy/components/primitive-textfield';
|
|
26
15
|
export * from '@taiga-ui/legacy/components/select';
|
|
27
16
|
export * from '@taiga-ui/legacy/components/select-option';
|
|
28
|
-
export * from '@taiga-ui/legacy/components/sheet';
|
|
29
|
-
export * from '@taiga-ui/legacy/components/svg';
|
|
30
|
-
export * from '@taiga-ui/legacy/components/table-bar';
|
|
31
17
|
export * from '@taiga-ui/legacy/components/tag';
|
|
32
18
|
export * from '@taiga-ui/legacy/components/textarea';
|
|
33
19
|
export * from '@taiga-ui/legacy/components/tooltip';
|
|
@@ -11,6 +11,6 @@ import * as i6 from "@taiga-ui/legacy/directives";
|
|
|
11
11
|
*/
|
|
12
12
|
export declare class TuiInputModule {
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputModule, [typeof i1.TuiInputComponent, typeof i2.TuiInputDirective], [typeof i3.CommonModule, typeof i4.TuiPrimitiveTextfieldModule, typeof i5.TuiDropdownOptionsDirective, typeof i5.TuiDropdownDriverDirective, typeof i5.TuiDropdownDirective, typeof i5.TuiDropdownComponent, typeof i5.TuiDropdownOpen, typeof i5.TuiDropdownOpenLegacy, typeof i5.
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputModule, [typeof i1.TuiInputComponent, typeof i2.TuiInputDirective], [typeof i3.CommonModule, typeof i4.TuiPrimitiveTextfieldModule, typeof i5.TuiDropdownOptionsDirective, typeof i5.TuiDropdownDriverDirective, typeof i5.TuiDropdownDirective, typeof i5.TuiDropdownComponent, typeof i5.TuiDropdownOpen, typeof i5.TuiDropdownOpenLegacy, typeof i5.TuiDropdownManual, typeof i5.TuiDropdownHover, typeof i5.TuiDropdownContent, typeof i5.TuiDropdownContext, typeof i5.TuiDropdownPosition, typeof i5.TuiDropdownPositionSided, typeof i5.TuiDropdownSelection, typeof i6.TuiLegacyDropdownOpenMonitorDirective], [typeof i1.TuiInputComponent, typeof i2.TuiInputDirective, typeof i4.TuiTextfieldComponent, typeof i5.TuiDropdownOptionsDirective, typeof i5.TuiDropdownDriverDirective, typeof i5.TuiDropdownDirective, typeof i5.TuiDropdownComponent, typeof i5.TuiDropdownOpen, typeof i5.TuiDropdownOpenLegacy, typeof i5.TuiDropdownManual, typeof i5.TuiDropdownHover, typeof i5.TuiDropdownContent, typeof i5.TuiDropdownContext, typeof i5.TuiDropdownPosition, typeof i5.TuiDropdownPositionSided, typeof i5.TuiDropdownSelection]>;
|
|
15
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputModule>;
|
|
16
16
|
}
|
|
@@ -17,6 +17,6 @@ import * as i12 from "@taiga-ui/core/directives/dropdown";
|
|
|
17
17
|
*/
|
|
18
18
|
export declare class TuiInputDateRangeModule {
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateRangeModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateRangeModule, [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective], [typeof i3.CommonModule, typeof i4.MaskitoDirective, typeof i5.TuiLet, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiCalendarRange, typeof i8.TuiValueAccessorModule, typeof i8.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiIcon, typeof i11.TuiAppearance, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateRangeModule, [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective], [typeof i3.CommonModule, typeof i4.MaskitoDirective, typeof i5.TuiLet, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiCalendarRange, typeof i8.TuiValueAccessorModule, typeof i8.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiIcon, typeof i11.TuiAppearance, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContent, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection], [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective, typeof i7.TuiTextfieldComponent, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContent, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection]>;
|
|
21
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateRangeModule>;
|
|
22
22
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type MaskitoOptions } from '@maskito/core';
|
|
2
|
+
import { type MaskitoTimeMode } from '@maskito/kit';
|
|
2
3
|
import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
3
|
-
import { type TuiDateMode, TuiDay, TuiMonth, TuiTime
|
|
4
|
+
import { type TuiDateMode, TuiDay, TuiMonth, TuiTime } from '@taiga-ui/cdk/date-time';
|
|
4
5
|
import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
|
|
5
6
|
import { type TuiBooleanHandler, type TuiContext } from '@taiga-ui/cdk/types';
|
|
6
7
|
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
@@ -49,8 +50,8 @@ export declare class TuiInputDateTimeComponent extends AbstractTuiControl<[TuiDa
|
|
|
49
50
|
disabledItemHandler: TuiBooleanHandler<TuiDay>;
|
|
50
51
|
defaultActiveYearMonth: TuiMonth;
|
|
51
52
|
open: boolean;
|
|
52
|
-
set timeMode(value:
|
|
53
|
-
get timeMode():
|
|
53
|
+
set timeMode(value: MaskitoTimeMode);
|
|
54
|
+
get timeMode(): MaskitoTimeMode;
|
|
54
55
|
get nativeFocusableElement(): HTMLInputElement | null;
|
|
55
56
|
get focused(): boolean;
|
|
56
57
|
get computedValue(): string;
|
|
@@ -18,6 +18,6 @@ import * as i13 from "@taiga-ui/core/directives/dropdown";
|
|
|
18
18
|
*/
|
|
19
19
|
export declare class TuiInputDateTimeModule {
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateTimeModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateTimeModule, [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective, typeof i3.TuiNativeDateTimeDirective], [typeof i4.CommonModule, typeof i5.MaskitoDirective, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiCalendar, typeof i8.TuiLink, typeof i9.TuiPrimitiveTextfieldModule, typeof i10.TuiValueAccessorModule, typeof i10.TuiTextfieldControllerModule, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i11.TuiIcon, typeof i12.TuiAppearance, typeof i13.TuiDropdownOptionsDirective, typeof i13.TuiDropdownDriverDirective, typeof i13.TuiDropdownDirective, typeof i13.TuiDropdownComponent, typeof i13.TuiDropdownOpen, typeof i13.TuiDropdownOpenLegacy, typeof i13.
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateTimeModule, [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective, typeof i3.TuiNativeDateTimeDirective], [typeof i4.CommonModule, typeof i5.MaskitoDirective, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiCalendar, typeof i8.TuiLink, typeof i9.TuiPrimitiveTextfieldModule, typeof i10.TuiValueAccessorModule, typeof i10.TuiTextfieldControllerModule, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i11.TuiIcon, typeof i12.TuiAppearance, typeof i13.TuiDropdownOptionsDirective, typeof i13.TuiDropdownDriverDirective, typeof i13.TuiDropdownDirective, typeof i13.TuiDropdownComponent, typeof i13.TuiDropdownOpen, typeof i13.TuiDropdownOpenLegacy, typeof i13.TuiDropdownManual, typeof i13.TuiDropdownHover, typeof i13.TuiDropdownContent, typeof i13.TuiDropdownContext, typeof i13.TuiDropdownPosition, typeof i13.TuiDropdownPositionSided, typeof i13.TuiDropdownSelection], [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective, typeof i9.TuiTextfieldComponent, typeof i13.TuiDropdownOptionsDirective, typeof i13.TuiDropdownDriverDirective, typeof i13.TuiDropdownDirective, typeof i13.TuiDropdownComponent, typeof i13.TuiDropdownOpen, typeof i13.TuiDropdownOpenLegacy, typeof i13.TuiDropdownManual, typeof i13.TuiDropdownHover, typeof i13.TuiDropdownContent, typeof i13.TuiDropdownContext, typeof i13.TuiDropdownPosition, typeof i13.TuiDropdownPositionSided, typeof i13.TuiDropdownSelection]>;
|
|
22
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateTimeModule>;
|
|
23
23
|
}
|
|
@@ -13,6 +13,6 @@ import * as i8 from "@taiga-ui/core/directives/dropdown";
|
|
|
13
13
|
*/
|
|
14
14
|
export declare class TuiInputMonthRangeModule {
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthRangeModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputMonthRangeModule, [typeof i1.TuiInputMonthRangeComponent, typeof i2.TuiInputMonthRangeDirective], [typeof i3.CommonModule, typeof i4.TuiCalendarMonth, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiMapperPipe, typeof i7.TuiTextfieldControllerModule, typeof i7.TuiLegacyDropdownOpenMonitorDirective, typeof i8.TuiDropdownOptionsDirective, typeof i8.TuiDropdownDriverDirective, typeof i8.TuiDropdownDirective, typeof i8.TuiDropdownComponent, typeof i8.TuiDropdownOpen, typeof i8.TuiDropdownOpenLegacy, typeof i8.
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputMonthRangeModule, [typeof i1.TuiInputMonthRangeComponent, typeof i2.TuiInputMonthRangeDirective], [typeof i3.CommonModule, typeof i4.TuiCalendarMonth, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiMapperPipe, typeof i7.TuiTextfieldControllerModule, typeof i7.TuiLegacyDropdownOpenMonitorDirective, typeof i8.TuiDropdownOptionsDirective, typeof i8.TuiDropdownDriverDirective, typeof i8.TuiDropdownDirective, typeof i8.TuiDropdownComponent, typeof i8.TuiDropdownOpen, typeof i8.TuiDropdownOpenLegacy, typeof i8.TuiDropdownManual, typeof i8.TuiDropdownHover, typeof i8.TuiDropdownContent, typeof i8.TuiDropdownContext, typeof i8.TuiDropdownPosition, typeof i8.TuiDropdownPositionSided, typeof i8.TuiDropdownSelection], [typeof i1.TuiInputMonthRangeComponent, typeof i2.TuiInputMonthRangeDirective, typeof i5.TuiTextfieldComponent, typeof i8.TuiDropdownOptionsDirective, typeof i8.TuiDropdownDriverDirective, typeof i8.TuiDropdownDirective, typeof i8.TuiDropdownComponent, typeof i8.TuiDropdownOpen, typeof i8.TuiDropdownOpenLegacy, typeof i8.TuiDropdownManual, typeof i8.TuiDropdownHover, typeof i8.TuiDropdownContent, typeof i8.TuiDropdownContext, typeof i8.TuiDropdownPosition, typeof i8.TuiDropdownPositionSided, typeof i8.TuiDropdownSelection]>;
|
|
17
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputMonthRangeModule>;
|
|
18
18
|
}
|
|
@@ -45,7 +45,7 @@ export declare class TuiInputRangeComponent extends AbstractTuiControl<[number,
|
|
|
45
45
|
protected onInputRight(value: number | null): void;
|
|
46
46
|
protected onExternalValueUpdate(value: [number, number]): void;
|
|
47
47
|
protected focusToTextInput(): void;
|
|
48
|
-
protected onActiveThumbChange(activeThumb: '
|
|
48
|
+
protected onActiveThumbChange(activeThumb: 'end' | 'start'): void;
|
|
49
49
|
protected getFallbackValue(): [number, number];
|
|
50
50
|
private safelyUpdateValue;
|
|
51
51
|
private valueGuard;
|
|
@@ -17,6 +17,6 @@ import * as i12 from "@taiga-ui/core/directives/dropdown";
|
|
|
17
17
|
*/
|
|
18
18
|
export declare class TuiInputTagModule {
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTagModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputTagModule, [typeof i1.TuiInputTagComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiHovered, typeof i6.TuiScrollbar, typeof i7.TuiTooltipModule, typeof i8.TuiTagModule, typeof i9.TuiWrapperModule, typeof i9.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiAppearance, typeof i11.TuiIcon, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputTagModule, [typeof i1.TuiInputTagComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiHovered, typeof i6.TuiScrollbar, typeof i7.TuiTooltipModule, typeof i8.TuiTagModule, typeof i9.TuiWrapperModule, typeof i9.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiAppearance, typeof i11.TuiIcon, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContent, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection], [typeof i1.TuiInputTagComponent, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContent, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection]>;
|
|
21
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputTagModule>;
|
|
22
22
|
}
|
|
@@ -4,7 +4,7 @@ export declare class TuiMultiSelectGroupComponent<T> {
|
|
|
4
4
|
private readonly options;
|
|
5
5
|
private readonly host;
|
|
6
6
|
private readonly control;
|
|
7
|
-
protected readonly multiSelectTexts
|
|
7
|
+
protected readonly multiSelectTexts: import("@angular/core").Signal<{
|
|
8
8
|
all: string;
|
|
9
9
|
none: string;
|
|
10
10
|
}>;
|
|
@@ -26,6 +26,6 @@ import * as i21 from "@taiga-ui/kit/components/data-list-wrapper";
|
|
|
26
26
|
*/
|
|
27
27
|
export declare class TuiMultiSelectModule {
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectModule, never>;
|
|
29
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiMultiSelectModule, [typeof i1.TuiMultiSelectComponent, typeof i2.TuiMultiSelectGroupComponent, typeof i3.TuiMultiSelectGroupDirective, typeof i4.TuiHideSelectedPipe, typeof i5.TuiNativeMultiSelectComponent, typeof i6.TuiNativeMultiSelectGroupComponent, typeof i7.TuiMultiSelectDirective], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i10.PolymorpheusOutlet, typeof i10.PolymorpheusTemplate, typeof i11.TuiWrapperModule, typeof i12.TuiArrowComponent, typeof i13.TuiLet, typeof i14.TuiInputTagModule, typeof i15.TuiMultiSelectOptionModule, typeof i16.TuiMapperPipe, typeof i17.TuiLink, typeof i11.TuiTextfieldControllerModule, typeof i18.TuiStringifyContentPipe, typeof i11.TuiLegacyDropdownOpenMonitorDirective, typeof i19.TuiDropdownOptionsDirective, typeof i19.TuiDropdownDriverDirective, typeof i19.TuiDropdownDirective, typeof i19.TuiDropdownComponent, typeof i19.TuiDropdownOpen, typeof i19.TuiDropdownOpenLegacy, typeof i19.
|
|
29
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiMultiSelectModule, [typeof i1.TuiMultiSelectComponent, typeof i2.TuiMultiSelectGroupComponent, typeof i3.TuiMultiSelectGroupDirective, typeof i4.TuiHideSelectedPipe, typeof i5.TuiNativeMultiSelectComponent, typeof i6.TuiNativeMultiSelectGroupComponent, typeof i7.TuiMultiSelectDirective], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i10.PolymorpheusOutlet, typeof i10.PolymorpheusTemplate, typeof i11.TuiWrapperModule, typeof i12.TuiArrowComponent, typeof i13.TuiLet, typeof i14.TuiInputTagModule, typeof i15.TuiMultiSelectOptionModule, typeof i16.TuiMapperPipe, typeof i17.TuiLink, typeof i11.TuiTextfieldControllerModule, typeof i18.TuiStringifyContentPipe, typeof i11.TuiLegacyDropdownOpenMonitorDirective, typeof i19.TuiDropdownOptionsDirective, typeof i19.TuiDropdownDriverDirective, typeof i19.TuiDropdownDirective, typeof i19.TuiDropdownComponent, typeof i19.TuiDropdownOpen, typeof i19.TuiDropdownOpenLegacy, typeof i19.TuiDropdownManual, typeof i19.TuiDropdownHover, typeof i19.TuiDropdownContent, typeof i19.TuiDropdownContext, typeof i19.TuiDropdownPosition, typeof i19.TuiDropdownPositionSided, typeof i19.TuiDropdownSelection, typeof i20.TuiDataListComponent, typeof i20.TuiDataListDirective, typeof i20.TuiOption, typeof i20.TuiOptionNew, typeof i20.TuiOptionWithValue, typeof i20.TuiOptGroup, typeof i21.TuiDataListWrapperComponent, typeof i21.TuiDataListGroupWrapperComponent, typeof i20.TuiDataListDirective], [typeof i1.TuiMultiSelectComponent, typeof i2.TuiMultiSelectGroupComponent, typeof i3.TuiMultiSelectGroupDirective, typeof i4.TuiHideSelectedPipe, typeof i7.TuiMultiSelectDirective, typeof i5.TuiNativeMultiSelectComponent, typeof i6.TuiNativeMultiSelectGroupComponent, typeof i19.TuiDropdownOptionsDirective, typeof i19.TuiDropdownDriverDirective, typeof i19.TuiDropdownDirective, typeof i19.TuiDropdownComponent, typeof i19.TuiDropdownOpen, typeof i19.TuiDropdownOpenLegacy, typeof i19.TuiDropdownManual, typeof i19.TuiDropdownHover, typeof i19.TuiDropdownContent, typeof i19.TuiDropdownContext, typeof i19.TuiDropdownPosition, typeof i19.TuiDropdownPositionSided, typeof i19.TuiDropdownSelection, typeof i20.TuiDataListComponent, typeof i20.TuiDataListDirective, typeof i20.TuiOption, typeof i20.TuiOptionNew, typeof i20.TuiOptionWithValue, typeof i20.TuiOptGroup, typeof i21.TuiDataListWrapperComponent, typeof i21.TuiDataListGroupWrapperComponent, typeof i20.TuiDataListDirective]>;
|
|
30
30
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiMultiSelectModule>;
|
|
31
31
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type TuiPopover } from '@taiga-ui/cdk/services';
|
|
2
|
+
import { type TuiPdfViewerOptions } from './pdf-viewer.options';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@taiga-ui/cdk/directives/animated";
|
|
5
|
+
export declare class TuiPdfViewerComponent<I, O> {
|
|
6
|
+
protected readonly closeWord: import("@angular/core").Signal<string>;
|
|
7
|
+
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
8
|
+
protected readonly context: TuiPopover<TuiPdfViewerOptions<I>, O>;
|
|
9
|
+
protected onKeyDownEsc(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerComponent<any, any>, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPdfViewerComponent<any, any>, "tui-pdf-viewer", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
|
|
2
|
+
import { type TuiPdfViewerOptions } from './pdf-viewer.options';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TuiPdfViewerDirective<T> extends TuiPopoverDirective<TuiPdfViewerOptions<T>> {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerDirective<any>, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPdfViewerDirective<any>, "ng-template[tuiPdfViewer]", never, { "options": { "alias": "tuiPdfViewerOptions"; "required": false; }; "open": { "alias": "tuiPdfViewer"; "required": false; }; }, { "openChange": "tuiPdfViewerChange"; }, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
+
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
|
+
export declare const TUI_PDF_VIEWER_DEFAULT_OPTIONS: TuiPdfViewerOptions;
|
|
4
|
+
/**
|
|
5
|
+
* Default parameters for PdfViewer component
|
|
6
|
+
*/
|
|
7
|
+
export declare const TUI_PDF_VIEWER_OPTIONS: InjectionToken<TuiPdfViewerOptions<undefined>>;
|
|
8
|
+
export declare function tuiPdfViewerOptionsProvider(options: Partial<TuiPdfViewerOptions>): Provider;
|
|
9
|
+
export interface TuiPdfViewerOptions<I = undefined> {
|
|
10
|
+
readonly actions: PolymorpheusContent<TuiPdfViewerOptions<I>>;
|
|
11
|
+
readonly data: I;
|
|
12
|
+
readonly label: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type SafeResourceUrl } from '@angular/platform-browser';
|
|
2
|
+
import { type TuiPopoverContext, TuiPopoverService } from '@taiga-ui/cdk/services';
|
|
3
|
+
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
|
+
import { type Observable } from 'rxjs';
|
|
5
|
+
import { type TuiPdfViewerOptions } from './pdf-viewer.options';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
type Content<G> = PolymorpheusContent<TuiPdfViewerOptions<unknown> & TuiPopoverContext<G>>;
|
|
8
|
+
export declare class TuiPdfViewerService extends TuiPopoverService<TuiPdfViewerOptions<unknown>> {
|
|
9
|
+
open<G>(content: Content<G> | SafeResourceUrl, options?: Partial<TuiPdfViewerOptions<any>>): Observable<G>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TuiPdfViewerService>;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -19,6 +19,6 @@ import * as i14 from "@taiga-ui/kit/components/data-list-wrapper";
|
|
|
19
19
|
*/
|
|
20
20
|
export declare class TuiSelectModule {
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectModule, never>;
|
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSelectModule, [typeof i1.TuiSelectComponent, typeof i2.TuiSelectDirective, typeof i3.TuiNativeSelectComponent, typeof i4.TuiNativeSelectGroupComponent], [typeof i5.CommonModule, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiSelectOptionModule, typeof i9.TuiArrowComponent, typeof i10.TuiWrapperModule, typeof i10.TuiTextfieldControllerModule, typeof i11.TuiStringifyContentPipe, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.
|
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSelectModule, [typeof i1.TuiSelectComponent, typeof i2.TuiSelectDirective, typeof i3.TuiNativeSelectComponent, typeof i4.TuiNativeSelectGroupComponent], [typeof i5.CommonModule, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiSelectOptionModule, typeof i9.TuiArrowComponent, typeof i10.TuiWrapperModule, typeof i10.TuiTextfieldControllerModule, typeof i11.TuiStringifyContentPipe, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContent, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup, typeof i14.TuiDataListWrapperComponent, typeof i14.TuiDataListGroupWrapperComponent, typeof i13.TuiDataListDirective], [typeof i1.TuiSelectComponent, typeof i2.TuiSelectDirective, typeof i7.TuiTextfieldComponent, typeof i3.TuiNativeSelectComponent, typeof i4.TuiNativeSelectGroupComponent, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContent, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup, typeof i14.TuiDataListWrapperComponent, typeof i14.TuiDataListGroupWrapperComponent, typeof i13.TuiDataListDirective]>;
|
|
23
23
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiSelectModule>;
|
|
24
24
|
}
|
|
@@ -61,10 +61,10 @@ class AbstractTuiInteractive {
|
|
|
61
61
|
this.focusVisible = focusVisible;
|
|
62
62
|
this.focusVisibleChange.emit(focusVisible);
|
|
63
63
|
}
|
|
64
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
65
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
64
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AbstractTuiInteractive, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
65
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: AbstractTuiInteractive, isStandalone: false, inputs: { pseudoHover: "pseudoHover", pseudoActive: "pseudoActive", pseudoFocus: "pseudoFocus", focusable: "focusable", nativeId: "nativeId" }, outputs: { focusedChange: "focusedChange", focusVisibleChange: "focusVisibleChange" }, host: { properties: { "attr.data-focused": "pseudoFocus", "class._disabled": "computedDisabled", "class._focused": "computedFocused", "class._focus-visible": "computedFocusVisible" } }, ngImport: i0 }); }
|
|
66
66
|
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AbstractTuiInteractive, decorators: [{
|
|
68
68
|
type: Directive,
|
|
69
69
|
args: [{
|
|
70
70
|
standalone: false,
|
|
@@ -240,10 +240,10 @@ class AbstractTuiControl extends AbstractTuiInteractive {
|
|
|
240
240
|
? this.valueTransformer.toControlValue(componentValue)
|
|
241
241
|
: componentValue;
|
|
242
242
|
}
|
|
243
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
244
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
243
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AbstractTuiControl, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
244
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: AbstractTuiControl, isStandalone: false, inputs: { readOnly: "readOnly", pseudoInvalid: "pseudoInvalid" }, host: { properties: { "class._readonly": "readOnly", "class._invalid": "computedInvalid" } }, usesInheritance: true, ngImport: i0 }); }
|
|
245
245
|
}
|
|
246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AbstractTuiControl, decorators: [{
|
|
247
247
|
type: Directive,
|
|
248
248
|
args: [{
|
|
249
249
|
standalone: false,
|
|
@@ -281,10 +281,10 @@ class AbstractTuiNativeSelect {
|
|
|
281
281
|
get emptyOption() {
|
|
282
282
|
return !!this.placeholder && !this.control.value;
|
|
283
283
|
}
|
|
284
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
285
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
284
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AbstractTuiNativeSelect, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
285
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: AbstractTuiNativeSelect, isStandalone: false, inputs: { disabledItemHandler: "disabledItemHandler", placeholder: "placeholder" }, host: { properties: { "id": "id" } }, viewQueries: [{ propertyName: "datalist", first: true, predicate: TuiDataListDirective, descendants: true, read: TemplateRef, static: true }], ngImport: i0 }); }
|
|
286
286
|
}
|
|
287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AbstractTuiNativeSelect, decorators: [{
|
|
288
288
|
type: Directive,
|
|
289
289
|
args: [{
|
|
290
290
|
standalone: false,
|
|
@@ -327,10 +327,10 @@ class AbstractTuiTextfieldHost {
|
|
|
327
327
|
return this.host.value?.toString() || '';
|
|
328
328
|
}
|
|
329
329
|
process(_input) { }
|
|
330
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
331
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
330
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AbstractTuiTextfieldHost, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
331
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: AbstractTuiTextfieldHost, isStandalone: true, ngImport: i0 }); }
|
|
332
332
|
}
|
|
333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AbstractTuiTextfieldHost, decorators: [{
|
|
334
334
|
type: Directive
|
|
335
335
|
}] });
|
|
336
336
|
|
|
@@ -341,10 +341,10 @@ class AbstractTuiController {
|
|
|
341
341
|
ngOnChanges() {
|
|
342
342
|
this.change$.next();
|
|
343
343
|
}
|
|
344
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
345
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
344
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AbstractTuiController, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
345
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: AbstractTuiController, isStandalone: true, usesOnChanges: true, ngImport: i0 }); }
|
|
346
346
|
}
|
|
347
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
347
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AbstractTuiController, decorators: [{
|
|
348
348
|
type: Directive
|
|
349
349
|
}] });
|
|
350
350
|
|
|
@@ -358,10 +358,10 @@ class AbstractTuiMultipleControl extends AbstractTuiControl {
|
|
|
358
358
|
getFallbackValue() {
|
|
359
359
|
return [];
|
|
360
360
|
}
|
|
361
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
362
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
361
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AbstractTuiMultipleControl, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
362
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: AbstractTuiMultipleControl, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
|
|
363
363
|
}
|
|
364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AbstractTuiMultipleControl, decorators: [{
|
|
365
365
|
type: Directive
|
|
366
366
|
}] });
|
|
367
367
|
|
|
@@ -386,10 +386,10 @@ class AbstractTuiNullableControl extends AbstractTuiControl {
|
|
|
386
386
|
getFallbackValue() {
|
|
387
387
|
return null;
|
|
388
388
|
}
|
|
389
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
390
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
389
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AbstractTuiNullableControl, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
390
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: AbstractTuiNullableControl, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
|
|
391
391
|
}
|
|
392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AbstractTuiNullableControl, decorators: [{
|
|
393
393
|
type: Directive
|
|
394
394
|
}] });
|
|
395
395
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-legacy-classes.mjs","sources":["../../../projects/legacy/classes/interactive.ts","../../../projects/legacy/classes/control.ts","../../../projects/legacy/classes/abstract-native-select.ts","../../../projects/legacy/classes/abstract-textfield-host.ts","../../../projects/legacy/classes/controller.ts","../../../projects/legacy/classes/multiple-control.ts","../../../projects/legacy/classes/named-day.ts","../../../projects/legacy/classes/nullable-control.ts","../../../projects/legacy/classes/stringifiable-item.ts","../../../projects/legacy/classes/taiga-ui-legacy-classes.ts"],"sourcesContent":["import {Directive, EventEmitter, Input, Output} from '@angular/core';\n\nconst TUI = 'tui_interactive_';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n standalone: false,\n host: {\n '[attr.data-focused]': 'pseudoFocus',\n '[class._disabled]': 'computedDisabled',\n '[class._focused]': 'computedFocused',\n '[class._focus-visible]': 'computedFocusVisible',\n },\n})\nexport abstract class AbstractTuiInteractive {\n private static autoId = 0;\n\n public abstract disabled: boolean;\n\n public abstract focused: boolean;\n\n private readonly autoIdString: string = `${TUI}${AbstractTuiInteractive.autoId++}${Date.now()}`;\n\n protected focusVisible = false;\n\n @Input()\n public pseudoHover: boolean | null = null;\n\n @Input()\n public pseudoActive: boolean | null = null;\n\n @Input()\n public pseudoFocus: boolean | null = null;\n\n /**\n * Determines if component is focusable with keyboard.\n */\n @Input()\n public focusable = true;\n\n @Input()\n public nativeId = '';\n\n /**\n * Emits 'true' on focus and 'false' on blur.\n */\n @Output()\n public readonly focusedChange = new EventEmitter<boolean>();\n\n @Output()\n public readonly focusVisibleChange = new EventEmitter<boolean>();\n\n public get computedDisabled(): boolean {\n return this.disabled;\n }\n\n public get computedFocused(): boolean {\n return !this.computedDisabled && (this.pseudoFocus ?? this.focused);\n }\n\n public get computedFocusVisible(): boolean {\n return !this.computedDisabled && (this.pseudoFocus ?? this.focusVisible);\n }\n\n public get computedFocusable(): boolean {\n return !this.computedDisabled && (this.focusable || this.focused);\n }\n\n // TODO: 3.0 Consider removing since native input is exposed\n public get id(): string {\n return this.nativeId || this.autoIdString;\n }\n\n protected updateFocused(focused: boolean): void {\n this.focusedChange.emit(focused);\n }\n\n protected updateFocusVisible(focusVisible: boolean): void {\n if (this.focusVisible === focusVisible) {\n return;\n }\n\n this.focusVisible = focusVisible;\n this.focusVisibleChange.emit(focusVisible);\n }\n}\n","/// <reference types=\"@taiga-ui/tsconfig/ng-dev-mode\" />\nimport {\n ChangeDetectorRef,\n DestroyRef,\n Directive,\n inject,\n Input,\n type OnInit,\n type Provider,\n type Type,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {\n type AbstractControl,\n type ControlValueAccessor,\n NgControl,\n NgModel,\n} from '@angular/forms';\nimport {TuiControl, TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {EMPTY_FUNCTION} from '@taiga-ui/cdk/constants';\nimport {tuiIsPresent, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n delay,\n distinctUntilChanged,\n EMPTY,\n filter,\n map,\n merge,\n startWith,\n Subject,\n switchMap,\n} from 'rxjs';\n\nimport {AbstractTuiInteractive} from './interactive';\n\n/**\n * @deprecated: drop in v5.0\n * Basic ControlValueAccessor class to build form components upon\n */\n@Directive({\n standalone: false,\n host: {\n '[class._readonly]': 'readOnly',\n '[class._invalid]': 'computedInvalid',\n },\n})\nexport abstract class AbstractTuiControl<T>\n extends AbstractTuiInteractive\n implements OnInit, ControlValueAccessor\n{\n private readonly ngControl = inject(NgControl, {optional: true});\n private previousInternalValue?: T | null;\n private readonly refresh$ = new Subject<void>();\n\n protected onTouched = EMPTY_FUNCTION;\n protected onChange = EMPTY_FUNCTION;\n protected readonly fallbackValue = this.getFallbackValue();\n protected destroyRef = inject(DestroyRef);\n protected readonly cdr = inject(ChangeDetectorRef);\n protected readonly valueTransformer = inject<TuiValueTransformer<T>>(\n TuiValueTransformer,\n {optional: true},\n );\n\n @Input()\n public readOnly = false;\n\n @Input()\n public pseudoInvalid: boolean | null = null;\n\n // Workaround for legacy control to notify of internal change in case updateOn: 'blur' is used\n public readonly update$ = new Subject<void>();\n\n constructor() {\n super();\n\n if (ngDevMode && this.ngControl === null) {\n console.assert(\n false,\n `NgControl not injected in ${this.constructor.name}!\\n`,\n 'Use [(ngModel)] or [formControl] or formControlName for correct work.',\n );\n }\n\n if (this.ngControl) {\n this.ngControl.valueAccessor = this;\n }\n }\n\n protected abstract getFallbackValue(): T;\n\n public get computedInvalid(): boolean {\n return (\n this.interactive &&\n (this.pseudoInvalid !== null\n ? this.pseudoInvalid\n : this.touched && this.invalid)\n );\n }\n\n public get value(): T {\n return this.previousInternalValue ?? this.fallbackValue;\n }\n\n public set value(value: T) {\n this.updateValue(value);\n this.update$.next();\n }\n\n public get safeCurrentValue(): T {\n return this.rawValue ?? this.fallbackValue;\n }\n\n public get invalid(): boolean {\n return this.safeNgControlData<boolean>(({invalid}) => invalid, false);\n }\n\n public get valid(): boolean {\n return this.safeNgControlData<boolean>(({valid}) => valid, false);\n }\n\n public get touched(): boolean {\n return this.safeNgControlData<boolean>(({touched}) => touched, false);\n }\n\n public get disabled(): boolean {\n return this.safeNgControlData<boolean>(({disabled}) => disabled, false);\n }\n\n public get interactive(): boolean {\n return !this.readOnly && !this.computedDisabled;\n }\n\n public get control(): AbstractControl | null {\n return this.safeNgControlData<AbstractControl | null>(\n ({control}) => control,\n null,\n );\n }\n\n public get computedName(): string | null {\n return this.controlName?.toString() ?? null;\n }\n\n public get controlName(): string | null {\n return this.ngControl?.name?.toString() ?? null;\n }\n\n public ngOnInit(): void {\n this.refresh$\n .pipe(\n delay(0),\n startWith(null),\n map(() => this.ngControl?.control),\n filter(tuiIsPresent),\n distinctUntilChanged(),\n switchMap((control) =>\n merge(\n control.valueChanges,\n control.statusChanges,\n (control as any).events || EMPTY,\n ),\n ),\n takeUntilDestroyed(this.destroyRef),\n )\n .subscribe(() => {\n this.refreshLocalValue(this.safeCurrentValue);\n });\n }\n\n public checkControlUpdate(): void {\n this.cdr.markForCheck();\n }\n\n public registerOnChange(onChange: (value: unknown) => void): void {\n this.onChange = (componentValue: T) => {\n onChange(this.toControlValue(componentValue));\n };\n\n this.refresh$.next();\n }\n\n public registerOnTouched(onTouched: () => void): void {\n this.onTouched = onTouched;\n }\n\n public setDisabledState(): void {\n this.checkControlUpdate();\n }\n\n public writeValue(value: T | null): void {\n const controlValue =\n this.ngControl instanceof NgModel && this.previousInternalValue === undefined\n ? this.ngControl.model\n : value;\n\n this.refreshLocalValue(this.fromControlValue(controlValue));\n }\n\n protected override updateFocused(focused: boolean): void {\n if (!focused) {\n this.controlMarkAsTouched();\n }\n\n super.updateFocused(focused);\n }\n\n /**\n * @deprecated use `value` setter\n */\n protected updateValue(value: T): void {\n if (this.disabled || this.valueIdenticalComparator(this.value, value)) {\n return;\n }\n\n this.previousInternalValue = value;\n this.controlSetValue(value);\n }\n\n protected valueIdenticalComparator(oldValue: T, newValue: T): boolean {\n return oldValue === newValue;\n }\n\n private get rawValue(): T | undefined {\n const {ngControl} = this;\n\n if (ngControl === null) {\n return undefined;\n }\n\n const controlValue =\n ngControl instanceof NgModel && this.previousInternalValue === undefined\n ? ngControl.viewModel\n : ngControl.value;\n\n return this.fromControlValue(controlValue);\n }\n\n private safeNgControlData<T>(\n extractor: (ngControl: NgControl) => T | null | undefined,\n defaultFieldValue: T,\n ): T {\n return (this.ngControl && extractor(this.ngControl)) ?? defaultFieldValue;\n }\n\n private controlMarkAsTouched(): void {\n this.onTouched();\n this.checkControlUpdate();\n }\n\n private controlSetValue(value: T): void {\n this.onChange(value);\n this.checkControlUpdate();\n }\n\n private refreshLocalValue(value: T | null): void {\n this.previousInternalValue = value;\n this.checkControlUpdate();\n }\n\n private fromControlValue(controlValue: unknown): T {\n return this.valueTransformer\n ? this.valueTransformer.fromControlValue(controlValue)\n : (controlValue as T);\n }\n\n private toControlValue(componentValue: T): unknown {\n return this.valueTransformer\n ? this.valueTransformer.toControlValue(componentValue)\n : componentValue;\n }\n}\n\nexport function tuiAsControl<T>(control: Type<AbstractTuiControl<T>>): Provider[] {\n return [tuiProvide(AbstractTuiControl, control), tuiProvide(TuiControl, control)];\n}\n","import {Directive, inject, Input, TemplateRef, ViewChild} from '@angular/core';\nimport {tuiInjectId} from '@taiga-ui/cdk/services';\nimport {type TuiBooleanHandler} from '@taiga-ui/cdk/types';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {TuiDataListDirective} from '@taiga-ui/core/components/data-list';\nimport {TUI_ITEMS_HANDLERS} from '@taiga-ui/kit/tokens';\nimport {TUI_TEXTFIELD_HOST, type TuiTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n standalone: false,\n host: {\n '[id]': 'id',\n },\n})\nexport abstract class AbstractTuiNativeSelect<H = TuiTextfieldHost, T = string> {\n @ViewChild(TuiDataListDirective, {read: TemplateRef, static: true})\n protected readonly datalist: TemplateRef<any> | null = null;\n\n protected readonly autoId = tuiInjectId();\n protected readonly el = tuiInjectElement<HTMLSelectElement>();\n protected readonly host = inject<H>(TUI_TEXTFIELD_HOST);\n protected readonly control = inject(AbstractTuiControl);\n protected readonly itemsHandlers = inject(TUI_ITEMS_HANDLERS);\n\n @Input()\n public disabledItemHandler: TuiBooleanHandler<T> | null = null;\n\n @Input()\n public placeholder = '';\n\n protected get id(): string {\n return this.el.id || this.autoId;\n }\n\n protected get emptyOption(): boolean {\n return !!this.placeholder && !this.control.value;\n }\n}\n","import {Directive, inject} from '@angular/core';\nimport {type TuiTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive()\nexport abstract class AbstractTuiTextfieldHost<T extends AbstractTuiControl<any>>\n implements TuiTextfieldHost\n{\n protected readonly host: T = inject<any>(AbstractTuiControl, {optional: true});\n\n public abstract onValueChange(value: string): void;\n\n public get readOnly(): boolean {\n return this.host.readOnly;\n }\n\n public get disabled(): boolean {\n return this.host.computedDisabled;\n }\n\n public get invalid(): boolean {\n return this.host.computedInvalid;\n }\n\n public get focusable(): boolean {\n return this.host.computedFocusable;\n }\n\n public get inputMode(): TuiTextfieldHost['inputMode'] {\n return 'text';\n }\n\n public get value(): string {\n return this.host.value?.toString() || '';\n }\n\n public process(_input: HTMLInputElement): void {}\n}\n","import {Directive, type OnChanges} from '@angular/core';\nimport {Subject} from 'rxjs';\n\n@Directive()\nexport abstract class AbstractTuiController implements OnChanges {\n public readonly change$ = new Subject<void>();\n\n public ngOnChanges(): void {\n this.change$.next();\n }\n}\n","import {Directive} from '@angular/core';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive()\nexport abstract class AbstractTuiMultipleControl<T> extends AbstractTuiControl<\n readonly T[]\n> {\n protected clear(): void {\n this.value = [];\n }\n\n protected getFallbackValue(): readonly T[] {\n return [];\n }\n}\n","import {type TuiDay} from '@taiga-ui/cdk/date-time';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport class TuiNamedDay {\n constructor(\n public readonly day: TuiDay,\n private readonly name: string,\n public readonly displayDay: TuiDay = day,\n ) {}\n\n protected toString(): string {\n return this.name;\n }\n}\n","import {Directive} from '@angular/core';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive()\nexport abstract class AbstractTuiNullableControl<T> extends AbstractTuiControl<T | null> {\n protected getFallbackValue(): T | null {\n return null;\n }\n}\n","import {type TuiStringHandler} from '@taiga-ui/cdk/types';\n\n/**\n * @deprecated: drop in v5.0\n * Wrapper around an item to add `toString()` method\n */\nexport class TuiStringifiableItem<T> {\n constructor(\n public readonly item: T,\n public readonly stringify: TuiStringHandler<T>,\n ) {}\n\n protected toString(): string {\n return this.stringify(this.item);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,MAAM,GAAG,GAAG,kBAAkB;AAE9B;;AAEG;MAUmB,sBAAsB,CAAA;AAT5C,IAAA,WAAA,GAAA;AAgBqB,QAAA,IAAA,CAAA,YAAY,GAAW,CAAA,EAAG,GAAG,CAAA,EAAG,sBAAsB,CAAC,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,GAAG,EAAE,EAAE;QAErF,IAAA,CAAA,YAAY,GAAG,KAAK;QAGvB,IAAA,CAAA,WAAW,GAAmB,IAAI;QAGlC,IAAA,CAAA,YAAY,GAAmB,IAAI;QAGnC,IAAA,CAAA,WAAW,GAAmB,IAAI;AAEzC;;AAEG;QAEI,IAAA,CAAA,SAAS,GAAG,IAAI;QAGhB,IAAA,CAAA,QAAQ,GAAG,EAAE;AAEpB;;AAEG;AAEa,QAAA,IAAA,CAAA,aAAa,GA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,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAD/C;;;ACLD;;;AAGG;MACU,oBAAoB,CAAA;IAC7B,WAAA,CACoB,IAAO,EACP,SAA8B,EAAA;QAD9B,IAAA,CAAA,IAAI,GAAJ,IAAI;QACJ,IAAA,CAAA,SAAS,GAAT,SAAS;IAC1B;IAEO,QAAQ,GAAA;QACd,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;IACpC;AACH;;ACfD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-legacy-classes.mjs","sources":["../../../projects/legacy/classes/interactive.ts","../../../projects/legacy/classes/control.ts","../../../projects/legacy/classes/abstract-native-select.ts","../../../projects/legacy/classes/abstract-textfield-host.ts","../../../projects/legacy/classes/controller.ts","../../../projects/legacy/classes/multiple-control.ts","../../../projects/legacy/classes/named-day.ts","../../../projects/legacy/classes/nullable-control.ts","../../../projects/legacy/classes/stringifiable-item.ts","../../../projects/legacy/classes/taiga-ui-legacy-classes.ts"],"sourcesContent":["import {Directive, EventEmitter, Input, Output} from '@angular/core';\n\nconst TUI = 'tui_interactive_';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n standalone: false,\n host: {\n '[attr.data-focused]': 'pseudoFocus',\n '[class._disabled]': 'computedDisabled',\n '[class._focused]': 'computedFocused',\n '[class._focus-visible]': 'computedFocusVisible',\n },\n})\nexport abstract class AbstractTuiInteractive {\n private static autoId = 0;\n\n public abstract disabled: boolean;\n\n public abstract focused: boolean;\n\n private readonly autoIdString: string = `${TUI}${AbstractTuiInteractive.autoId++}${Date.now()}`;\n\n protected focusVisible = false;\n\n @Input()\n public pseudoHover: boolean | null = null;\n\n @Input()\n public pseudoActive: boolean | null = null;\n\n @Input()\n public pseudoFocus: boolean | null = null;\n\n /**\n * Determines if component is focusable with keyboard.\n */\n @Input()\n public focusable = true;\n\n @Input()\n public nativeId = '';\n\n /**\n * Emits 'true' on focus and 'false' on blur.\n */\n @Output()\n public readonly focusedChange = new EventEmitter<boolean>();\n\n @Output()\n public readonly focusVisibleChange = new EventEmitter<boolean>();\n\n public get computedDisabled(): boolean {\n return this.disabled;\n }\n\n public get computedFocused(): boolean {\n return !this.computedDisabled && (this.pseudoFocus ?? this.focused);\n }\n\n public get computedFocusVisible(): boolean {\n return !this.computedDisabled && (this.pseudoFocus ?? this.focusVisible);\n }\n\n public get computedFocusable(): boolean {\n return !this.computedDisabled && (this.focusable || this.focused);\n }\n\n // TODO: 3.0 Consider removing since native input is exposed\n public get id(): string {\n return this.nativeId || this.autoIdString;\n }\n\n protected updateFocused(focused: boolean): void {\n this.focusedChange.emit(focused);\n }\n\n protected updateFocusVisible(focusVisible: boolean): void {\n if (this.focusVisible === focusVisible) {\n return;\n }\n\n this.focusVisible = focusVisible;\n this.focusVisibleChange.emit(focusVisible);\n }\n}\n","/// <reference types=\"@taiga-ui/tsconfig/ng-dev-mode\" />\nimport {\n ChangeDetectorRef,\n DestroyRef,\n Directive,\n inject,\n Input,\n type OnInit,\n type Provider,\n type Type,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {\n type AbstractControl,\n type ControlValueAccessor,\n NgControl,\n NgModel,\n} from '@angular/forms';\nimport {TuiControl, TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {EMPTY_FUNCTION} from '@taiga-ui/cdk/constants';\nimport {tuiIsPresent, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n delay,\n distinctUntilChanged,\n EMPTY,\n filter,\n map,\n merge,\n startWith,\n Subject,\n switchMap,\n} from 'rxjs';\n\nimport {AbstractTuiInteractive} from './interactive';\n\n/**\n * @deprecated: drop in v5.0\n * Basic ControlValueAccessor class to build form components upon\n */\n@Directive({\n standalone: false,\n host: {\n '[class._readonly]': 'readOnly',\n '[class._invalid]': 'computedInvalid',\n },\n})\nexport abstract class AbstractTuiControl<T>\n extends AbstractTuiInteractive\n implements OnInit, ControlValueAccessor\n{\n private readonly ngControl = inject(NgControl, {optional: true});\n private previousInternalValue?: T | null;\n private readonly refresh$ = new Subject<void>();\n\n protected onTouched = EMPTY_FUNCTION;\n protected onChange = EMPTY_FUNCTION;\n protected readonly fallbackValue = this.getFallbackValue();\n protected destroyRef = inject(DestroyRef);\n protected readonly cdr = inject(ChangeDetectorRef);\n protected readonly valueTransformer = inject<TuiValueTransformer<T>>(\n TuiValueTransformer,\n {optional: true},\n );\n\n @Input()\n public readOnly = false;\n\n @Input()\n public pseudoInvalid: boolean | null = null;\n\n // Workaround for legacy control to notify of internal change in case updateOn: 'blur' is used\n public readonly update$ = new Subject<void>();\n\n constructor() {\n super();\n\n if (ngDevMode && this.ngControl === null) {\n console.assert(\n false,\n `NgControl not injected in ${this.constructor.name}!\\n`,\n 'Use [(ngModel)] or [formControl] or formControlName for correct work.',\n );\n }\n\n if (this.ngControl) {\n this.ngControl.valueAccessor = this;\n }\n }\n\n protected abstract getFallbackValue(): T;\n\n public get computedInvalid(): boolean {\n return (\n this.interactive &&\n (this.pseudoInvalid !== null\n ? this.pseudoInvalid\n : this.touched && this.invalid)\n );\n }\n\n public get value(): T {\n return this.previousInternalValue ?? this.fallbackValue;\n }\n\n public set value(value: T) {\n this.updateValue(value);\n this.update$.next();\n }\n\n public get safeCurrentValue(): T {\n return this.rawValue ?? this.fallbackValue;\n }\n\n public get invalid(): boolean {\n return this.safeNgControlData<boolean>(({invalid}) => invalid, false);\n }\n\n public get valid(): boolean {\n return this.safeNgControlData<boolean>(({valid}) => valid, false);\n }\n\n public get touched(): boolean {\n return this.safeNgControlData<boolean>(({touched}) => touched, false);\n }\n\n public get disabled(): boolean {\n return this.safeNgControlData<boolean>(({disabled}) => disabled, false);\n }\n\n public get interactive(): boolean {\n return !this.readOnly && !this.computedDisabled;\n }\n\n public get control(): AbstractControl | null {\n return this.safeNgControlData<AbstractControl | null>(\n ({control}) => control,\n null,\n );\n }\n\n public get computedName(): string | null {\n return this.controlName?.toString() ?? null;\n }\n\n public get controlName(): string | null {\n return this.ngControl?.name?.toString() ?? null;\n }\n\n public ngOnInit(): void {\n this.refresh$\n .pipe(\n delay(0),\n startWith(null),\n map(() => this.ngControl?.control),\n filter(tuiIsPresent),\n distinctUntilChanged(),\n switchMap((control) =>\n merge(\n control.valueChanges,\n control.statusChanges,\n (control as any).events || EMPTY,\n ),\n ),\n takeUntilDestroyed(this.destroyRef),\n )\n .subscribe(() => {\n this.refreshLocalValue(this.safeCurrentValue);\n });\n }\n\n public checkControlUpdate(): void {\n this.cdr.markForCheck();\n }\n\n public registerOnChange(onChange: (value: unknown) => void): void {\n this.onChange = (componentValue: T) => {\n onChange(this.toControlValue(componentValue));\n };\n\n this.refresh$.next();\n }\n\n public registerOnTouched(onTouched: () => void): void {\n this.onTouched = onTouched;\n }\n\n public setDisabledState(): void {\n this.checkControlUpdate();\n }\n\n public writeValue(value: T | null): void {\n const controlValue =\n this.ngControl instanceof NgModel && this.previousInternalValue === undefined\n ? this.ngControl.model\n : value;\n\n this.refreshLocalValue(this.fromControlValue(controlValue));\n }\n\n protected override updateFocused(focused: boolean): void {\n if (!focused) {\n this.controlMarkAsTouched();\n }\n\n super.updateFocused(focused);\n }\n\n /**\n * @deprecated use `value` setter\n */\n protected updateValue(value: T): void {\n if (this.disabled || this.valueIdenticalComparator(this.value, value)) {\n return;\n }\n\n this.previousInternalValue = value;\n this.controlSetValue(value);\n }\n\n protected valueIdenticalComparator(oldValue: T, newValue: T): boolean {\n return oldValue === newValue;\n }\n\n private get rawValue(): T | undefined {\n const {ngControl} = this;\n\n if (ngControl === null) {\n return undefined;\n }\n\n const controlValue =\n ngControl instanceof NgModel && this.previousInternalValue === undefined\n ? ngControl.viewModel\n : ngControl.value;\n\n return this.fromControlValue(controlValue);\n }\n\n private safeNgControlData<T>(\n extractor: (ngControl: NgControl) => T | null | undefined,\n defaultFieldValue: T,\n ): T {\n return (this.ngControl && extractor(this.ngControl)) ?? defaultFieldValue;\n }\n\n private controlMarkAsTouched(): void {\n this.onTouched();\n this.checkControlUpdate();\n }\n\n private controlSetValue(value: T): void {\n this.onChange(value);\n this.checkControlUpdate();\n }\n\n private refreshLocalValue(value: T | null): void {\n this.previousInternalValue = value;\n this.checkControlUpdate();\n }\n\n private fromControlValue(controlValue: unknown): T {\n return this.valueTransformer\n ? this.valueTransformer.fromControlValue(controlValue)\n : (controlValue as T);\n }\n\n private toControlValue(componentValue: T): unknown {\n return this.valueTransformer\n ? this.valueTransformer.toControlValue(componentValue)\n : componentValue;\n }\n}\n\nexport function tuiAsControl<T>(control: Type<AbstractTuiControl<T>>): Provider[] {\n return [tuiProvide(AbstractTuiControl, control), tuiProvide(TuiControl, control)];\n}\n","import {Directive, inject, Input, TemplateRef, ViewChild} from '@angular/core';\nimport {tuiInjectId} from '@taiga-ui/cdk/services';\nimport {type TuiBooleanHandler} from '@taiga-ui/cdk/types';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {TuiDataListDirective} from '@taiga-ui/core/components/data-list';\nimport {TUI_ITEMS_HANDLERS} from '@taiga-ui/kit/tokens';\nimport {TUI_TEXTFIELD_HOST, type TuiTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n standalone: false,\n host: {\n '[id]': 'id',\n },\n})\nexport abstract class AbstractTuiNativeSelect<H = TuiTextfieldHost, T = string> {\n @ViewChild(TuiDataListDirective, {read: TemplateRef, static: true})\n protected readonly datalist: TemplateRef<any> | null = null;\n\n protected readonly autoId = tuiInjectId();\n protected readonly el = tuiInjectElement<HTMLSelectElement>();\n protected readonly host = inject<H>(TUI_TEXTFIELD_HOST);\n protected readonly control = inject(AbstractTuiControl);\n protected readonly itemsHandlers = inject(TUI_ITEMS_HANDLERS);\n\n @Input()\n public disabledItemHandler: TuiBooleanHandler<T> | null = null;\n\n @Input()\n public placeholder = '';\n\n protected get id(): string {\n return this.el.id || this.autoId;\n }\n\n protected get emptyOption(): boolean {\n return !!this.placeholder && !this.control.value;\n }\n}\n","import {Directive, inject} from '@angular/core';\nimport {type TuiTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive()\nexport abstract class AbstractTuiTextfieldHost<T extends AbstractTuiControl<any>>\n implements TuiTextfieldHost\n{\n protected readonly host: T = inject<any>(AbstractTuiControl, {optional: true});\n\n public abstract onValueChange(value: string): void;\n\n public get readOnly(): boolean {\n return this.host.readOnly;\n }\n\n public get disabled(): boolean {\n return this.host.computedDisabled;\n }\n\n public get invalid(): boolean {\n return this.host.computedInvalid;\n }\n\n public get focusable(): boolean {\n return this.host.computedFocusable;\n }\n\n public get inputMode(): TuiTextfieldHost['inputMode'] {\n return 'text';\n }\n\n public get value(): string {\n return this.host.value?.toString() || '';\n }\n\n public process(_input: HTMLInputElement): void {}\n}\n","import {Directive, type OnChanges} from '@angular/core';\nimport {Subject} from 'rxjs';\n\n@Directive()\nexport abstract class AbstractTuiController implements OnChanges {\n public readonly change$ = new Subject<void>();\n\n public ngOnChanges(): void {\n this.change$.next();\n }\n}\n","import {Directive} from '@angular/core';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive()\nexport abstract class AbstractTuiMultipleControl<T> extends AbstractTuiControl<\n readonly T[]\n> {\n protected clear(): void {\n this.value = [];\n }\n\n protected getFallbackValue(): readonly T[] {\n return [];\n }\n}\n","import {type TuiDay} from '@taiga-ui/cdk/date-time';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport class TuiNamedDay {\n constructor(\n public readonly day: TuiDay,\n private readonly name: string,\n public readonly displayDay: TuiDay = day,\n ) {}\n\n protected toString(): string {\n return this.name;\n }\n}\n","import {Directive} from '@angular/core';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive()\nexport abstract class AbstractTuiNullableControl<T> extends AbstractTuiControl<T | null> {\n protected getFallbackValue(): T | null {\n return null;\n }\n}\n","import {type TuiStringHandler} from '@taiga-ui/cdk/types';\n\n/**\n * @deprecated: drop in v5.0\n * Wrapper around an item to add `toString()` method\n */\nexport class TuiStringifiableItem<T> {\n constructor(\n public readonly item: T,\n public readonly stringify: TuiStringHandler<T>,\n ) {}\n\n protected toString(): string {\n return this.stringify(this.item);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,MAAM,GAAG,GAAG,kBAAkB;AAE9B;;AAEG;MAUmB,sBAAsB,CAAA;AAT5C,IAAA,WAAA,GAAA;AAgBqB,QAAA,IAAA,CAAA,YAAY,GAAW,CAAA,EAAG,GAAG,CAAA,EAAG,sBAAsB,CAAC,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,GAAG,EAAE,EAAE;QAErF,IAAY,CAAA,YAAA,GAAG,KAAK;QAGvB,IAAW,CAAA,WAAA,GAAmB,IAAI;QAGlC,IAAY,CAAA,YAAA,GAAmB,IAAI;QAGnC,IAAW,CAAA,WAAA,GAAmB,IAAI;AAEzC;;AAEG;QAEI,IAAS,CAAA,SAAA,GAAG,IAAI;QAGhB,IAAQ,CAAA,QAAA,GAAG,EAAE;AAEpB;;AAEG;AAEa,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,YAAY,EAAW;AAG3C,QAAA,IAAA,CAAA,kBAAkB,GAAG,IAAI,YAAY,EAAW;AAmCnE;aAtEkB,IAAM,CAAA,MAAA,GAAG,CAAH,CAAK;AAqC1B,IAAA,IAAW,gBAAgB,GAAA;QACvB,OAAO,IAAI,CAAC,QAAQ;;AAGxB,IAAA,IAAW,eAAe,GAAA;AACtB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