@taiga-ui/kit 3.36.1 → 3.36.2
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/bundles/taiga-ui-kit-components-arrow.umd.js +21 -24
- package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +2 -7
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js +11 -14
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +6 -8
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-push.umd.js +2 -7
- package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-rating.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.js +2 -5
- package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tag.umd.js +9 -12
- package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.js +4 -7
- package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-tokens.umd.js +8 -14
- package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
- package/components/arrow/arrow.component.d.ts +1 -1
- package/components/arrow/arrow.options.d.ts +13 -0
- package/components/arrow/arrow.providers.d.ts +14 -0
- package/components/arrow/index.d.ts +2 -1
- package/components/avatar/avatar.component.d.ts +1 -1
- package/components/avatar/{avatar-options.d.ts → avatar.options.d.ts} +3 -3
- package/components/avatar/index.d.ts +1 -1
- package/components/breadcrumbs/breadcrumbs.options.d.ts +3 -3
- package/components/input-copy/input-copy.options.d.ts +3 -3
- package/components/input-count/index.d.ts +1 -1
- package/components/input-count/input-count.component.d.ts +1 -1
- package/components/input-count/{input-count-options.d.ts → input-count.options.d.ts} +3 -3
- package/components/input-files/input-files.options.d.ts +3 -3
- package/components/input-number/index.d.ts +1 -1
- package/components/input-number/input-number.component.d.ts +1 -1
- package/components/input-number/{input-number-options.d.ts → input-number.options.d.ts} +3 -3
- package/components/input-password/index.d.ts +1 -1
- package/components/input-password/input-password.component.d.ts +1 -1
- package/components/input-password/{input-password-options.d.ts → input-password.options.d.ts} +3 -3
- package/components/input-phone/input-phone.options.d.ts +3 -3
- package/components/input-phone-international/input-phone-international.options.d.ts +3 -3
- package/components/input-tag/index.d.ts +1 -1
- package/components/input-tag/input-tag.component.d.ts +1 -1
- package/components/input-tag/{input-tag-options.d.ts → input-tag.options.d.ts} +3 -3
- package/components/input-time/index.d.ts +1 -1
- package/components/input-time/input-time.component.d.ts +1 -1
- package/components/input-time/{input-time-options.d.ts → input-time.options.d.ts} +3 -3
- package/components/line-clamp/index.d.ts +1 -1
- package/components/line-clamp/line-clamp.component.d.ts +1 -1
- package/components/line-clamp/line-clamp.options.d.ts +10 -0
- package/components/multi-select/index.d.ts +1 -1
- package/components/multi-select/multi-select.component.d.ts +1 -1
- package/components/multi-select/{multi-select-options.d.ts → multi-select.options.d.ts} +3 -3
- package/components/pdf-viewer/index.d.ts +1 -2
- package/components/pdf-viewer/pdf-viewer.component.d.ts +1 -1
- package/components/pdf-viewer/pdf-viewer.directive.d.ts +1 -1
- package/components/pdf-viewer/pdf-viewer.options.d.ts +15 -0
- package/components/pdf-viewer/pdf-viewer.service.d.ts +1 -1
- package/components/push/index.d.ts +0 -1
- package/components/push/push.options.d.ts +7 -0
- package/components/radio/index.d.ts +1 -1
- package/components/radio/radio.component.d.ts +1 -1
- package/components/radio/{radio-options.d.ts → radio.options.d.ts} +3 -3
- package/components/rating/index.d.ts +1 -1
- package/components/rating/rating.component.d.ts +1 -1
- package/components/rating/{rating-options.d.ts → rating.options.d.ts} +3 -3
- package/components/select/index.d.ts +1 -1
- package/components/select/select.component.d.ts +1 -1
- package/components/select/{select-options.d.ts → select.options.d.ts} +3 -3
- package/components/slider/index.d.ts +1 -1
- package/components/slider/slider.component.d.ts +1 -1
- package/components/slider/{slider-options.d.ts → slider.options.d.ts} +3 -3
- package/components/tabs/index.d.ts +1 -1
- package/components/tabs/tabs/tabs.component.d.ts +1 -1
- package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +1 -1
- package/components/tabs/{tabs-options.d.ts → tabs.options.d.ts} +3 -3
- package/components/tag/index.d.ts +1 -1
- package/components/tag/tag.component.d.ts +1 -1
- package/components/tag/{tag-options.d.ts → tag.options.d.ts} +3 -3
- package/components/toggle/index.d.ts +1 -1
- package/components/toggle/toggle.component.d.ts +1 -1
- package/components/toggle/{toggle-options.d.ts → toggle.options.d.ts} +3 -3
- package/esm2015/components/arrow/arrow.component.js +2 -2
- package/esm2015/components/arrow/arrow.options.js +14 -0
- package/esm2015/components/arrow/arrow.providers.js +14 -0
- package/esm2015/components/arrow/index.js +3 -2
- package/esm2015/components/avatar/avatar.component.js +2 -2
- package/esm2015/components/avatar/avatar.options.js +15 -0
- package/esm2015/components/avatar/index.js +2 -2
- package/esm2015/components/breadcrumbs/breadcrumbs.options.js +6 -9
- package/esm2015/components/input-copy/input-copy.options.js +6 -9
- package/esm2015/components/input-count/index.js +2 -2
- package/esm2015/components/input-count/input-count.component.js +2 -2
- package/esm2015/components/input-count/input-count.options.js +22 -0
- package/esm2015/components/input-files/input-files.options.js +6 -9
- package/esm2015/components/input-number/index.js +2 -2
- package/esm2015/components/input-number/input-number.component.js +2 -2
- package/esm2015/components/input-number/input-number.options.js +21 -0
- package/esm2015/components/input-password/index.js +2 -2
- package/esm2015/components/input-password/input-password.component.js +2 -2
- package/esm2015/components/input-password/input-password.options.js +16 -0
- package/esm2015/components/input-phone/input-phone.options.js +6 -9
- package/esm2015/components/input-phone-international/input-phone-international.options.js +6 -9
- package/esm2015/components/input-tag/index.js +2 -2
- package/esm2015/components/input-tag/input-tag.component.js +2 -2
- package/esm2015/components/input-tag/input-tag.options.js +14 -0
- package/esm2015/components/input-time/index.js +2 -2
- package/esm2015/components/input-time/input-time.component.js +2 -2
- package/esm2015/components/input-time/input-time.options.js +18 -0
- package/esm2015/components/line-clamp/index.js +2 -2
- package/esm2015/components/line-clamp/line-clamp.component.js +2 -2
- package/esm2015/components/line-clamp/line-clamp.options.js +12 -0
- package/esm2015/components/multi-select/index.js +2 -2
- package/esm2015/components/multi-select/multi-select.component.js +2 -2
- package/esm2015/components/multi-select/multi-select.options.js +13 -0
- package/esm2015/components/pdf-viewer/index.js +2 -3
- package/esm2015/components/pdf-viewer/pdf-viewer.component.js +1 -1
- package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +1 -1
- package/esm2015/components/pdf-viewer/pdf-viewer.options.js +13 -0
- package/esm2015/components/pdf-viewer/pdf-viewer.service.js +2 -2
- package/esm2015/components/push/index.js +1 -2
- package/esm2015/components/push/push.options.js +18 -2
- package/esm2015/components/push/push.service.js +2 -2
- package/esm2015/components/radio/index.js +2 -2
- package/esm2015/components/radio/radio.component.js +2 -2
- package/esm2015/components/radio/radio.options.js +18 -0
- package/esm2015/components/rating/index.js +2 -2
- package/esm2015/components/rating/rating.component.js +2 -2
- package/esm2015/components/rating/rating.options.js +15 -0
- package/esm2015/components/select/index.js +2 -2
- package/esm2015/components/select/select.component.js +2 -2
- package/esm2015/components/select/select.options.js +12 -0
- package/esm2015/components/slider/index.js +2 -2
- package/esm2015/components/slider/slider.component.js +2 -2
- package/esm2015/components/slider/slider.options.js +13 -0
- package/esm2015/components/tabs/index.js +2 -2
- package/esm2015/components/tabs/tabs/tabs.component.js +2 -2
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +2 -2
- package/esm2015/components/tabs/tabs.options.js +15 -0
- package/esm2015/components/tag/index.js +2 -2
- package/esm2015/components/tag/tag.component.js +2 -2
- package/esm2015/components/tag/tag.options.js +15 -0
- package/esm2015/components/toggle/index.js +2 -2
- package/esm2015/components/toggle/toggle.component.js +2 -2
- package/esm2015/components/toggle/toggle.options.js +28 -0
- package/esm2015/tokens/input-date-options.js +6 -10
- package/esm2015/tokens/items-handlers.js +6 -10
- package/fesm2015/taiga-ui-kit-components-arrow.js +19 -22
- package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-avatar.js +6 -9
- package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +6 -9
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-copy.js +6 -9
- package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js +6 -9
- package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-files.js +6 -9
- package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-number.js +6 -9
- package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-password.js +6 -9
- package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js +6 -9
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js +6 -9
- package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js +4 -9
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js +6 -9
- package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-line-clamp.js +13 -16
- package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select.js +6 -9
- package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +8 -10
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-push.js +4 -9
- package/fesm2015/taiga-ui-kit-components-push.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio.js +6 -9
- package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-rating.js +6 -9
- package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select.js +6 -9
- package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-slider.js +4 -7
- package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tabs.js +5 -8
- package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tag.js +7 -10
- package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-toggle.js +6 -9
- package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
- package/fesm2015/taiga-ui-kit-tokens.js +9 -15
- package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
- package/package.json +4 -4
- package/tokens/input-date-options.d.ts +3 -3
- package/tokens/items-handlers.d.ts +3 -3
- package/components/arrow/arrow-options.d.ts +0 -24
- package/components/line-clamp/line-clamp-options.d.ts +0 -10
- package/components/pdf-viewer/pdf-viewer-options.d.ts +0 -6
- package/components/pdf-viewer/pdf-viewer.tokens.d.ts +0 -13
- package/components/push/push.tokens.d.ts +0 -8
- package/esm2015/components/arrow/arrow-options.js +0 -31
- package/esm2015/components/avatar/avatar-options.js +0 -18
- package/esm2015/components/input-count/input-count-options.js +0 -25
- package/esm2015/components/input-number/input-number-options.js +0 -24
- package/esm2015/components/input-password/input-password-options.js +0 -19
- package/esm2015/components/input-tag/input-tag-options.js +0 -19
- package/esm2015/components/input-time/input-time-options.js +0 -21
- package/esm2015/components/line-clamp/line-clamp-options.js +0 -15
- package/esm2015/components/multi-select/multi-select-options.js +0 -16
- package/esm2015/components/pdf-viewer/pdf-viewer-options.js +0 -2
- package/esm2015/components/pdf-viewer/pdf-viewer.tokens.js +0 -15
- package/esm2015/components/push/push.tokens.js +0 -23
- package/esm2015/components/radio/radio-options.js +0 -21
- package/esm2015/components/rating/rating-options.js +0 -18
- package/esm2015/components/select/select-options.js +0 -15
- package/esm2015/components/slider/slider-options.js +0 -16
- package/esm2015/components/tabs/tabs-options.js +0 -18
- package/esm2015/components/tag/tag-options.js +0 -18
- package/esm2015/components/toggle/toggle-options.js +0 -31
|
@@ -3,7 +3,7 @@ import { NgControl } from '@angular/forms';
|
|
|
3
3
|
import { MaskitoOptions } from '@maskito/core';
|
|
4
4
|
import { AbstractTuiNullableControl, TuiFocusableElementAccessor, TuiInputMode } from '@taiga-ui/cdk';
|
|
5
5
|
import { TuiDecimal, TuiNumberFormatSettings } from '@taiga-ui/core';
|
|
6
|
-
import { TuiInputNumberOptions } from './input-number
|
|
6
|
+
import { TuiInputNumberOptions } from './input-number.options';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class TuiInputNumberComponent extends AbstractTuiNullableControl<number> implements TuiFocusableElementAccessor {
|
|
9
9
|
readonly options: TuiInputNumberOptions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
2
|
import { TuiDecimal } from '@taiga-ui/core';
|
|
3
3
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
4
4
|
export interface TuiInputNumberOptions {
|
|
@@ -17,5 +17,5 @@ export declare const TUI_INPUT_NUMBER_DEFAULT_OPTIONS: TuiInputNumberOptions;
|
|
|
17
17
|
/**
|
|
18
18
|
* Default parameters for input count component
|
|
19
19
|
*/
|
|
20
|
-
export declare const TUI_INPUT_NUMBER_OPTIONS: InjectionToken<TuiInputNumberOptions>;
|
|
21
|
-
export declare
|
|
20
|
+
export declare const TUI_INPUT_NUMBER_OPTIONS: import("@angular/core").InjectionToken<TuiInputNumberOptions>;
|
|
21
|
+
export declare function tuiInputNumberOptionsProvider(options: Partial<TuiInputNumberOptions>): Provider;
|
|
@@ -4,7 +4,7 @@ import { AbstractTuiControl, TuiContextWithImplicit, TuiFocusableElementAccessor
|
|
|
4
4
|
import { TuiBrightness, TuiHintOptionsDirective, TuiSizeL, TuiSizeS, TuiTextfieldSizeDirective } from '@taiga-ui/core';
|
|
5
5
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
|
-
import { TuiInputPasswordOptions } from './input-password
|
|
7
|
+
import { TuiInputPasswordOptions } from './input-password.options';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class TuiInputPasswordComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
|
|
10
10
|
private readonly textfieldSize;
|
package/components/input-password/{input-password-options.d.ts → input-password.options.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
2
|
import { TuiContextWithImplicit } from '@taiga-ui/cdk';
|
|
3
3
|
import { TuiSizeL, TuiSizeS } from '@taiga-ui/core';
|
|
4
4
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
@@ -13,5 +13,5 @@ export declare const TUI_INPUT_PASSWORD_DEFAULT_OPTIONS: TuiInputPasswordOptions
|
|
|
13
13
|
/**
|
|
14
14
|
* Default parameters for input password component
|
|
15
15
|
*/
|
|
16
|
-
export declare const TUI_INPUT_PASSWORD_OPTIONS: InjectionToken<TuiInputPasswordOptions>;
|
|
17
|
-
export declare
|
|
16
|
+
export declare const TUI_INPUT_PASSWORD_OPTIONS: import("@angular/core").InjectionToken<TuiInputPasswordOptions>;
|
|
17
|
+
export declare function tuiInputPasswordOptionsProvider(options: Partial<TuiInputPasswordOptions>): Provider;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
2
|
export interface TuiInputPhoneOptions {
|
|
3
3
|
readonly phoneMaskAfterCountryCode: string;
|
|
4
4
|
readonly allowText: boolean;
|
|
@@ -8,5 +8,5 @@ export declare const TUI_INPUT_PHONE_DEFAULT_OPTIONS: TuiInputPhoneOptions;
|
|
|
8
8
|
/**
|
|
9
9
|
* Default parameters for input phone component
|
|
10
10
|
*/
|
|
11
|
-
export declare const TUI_INPUT_PHONE_OPTIONS: InjectionToken<TuiInputPhoneOptions>;
|
|
12
|
-
export declare
|
|
11
|
+
export declare const TUI_INPUT_PHONE_OPTIONS: import("@angular/core").InjectionToken<TuiInputPhoneOptions>;
|
|
12
|
+
export declare function tuiInputPhoneOptionsProvider(options: Partial<TuiInputPhoneOptions>): Provider;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
2
|
import { TuiCountryIsoCode } from '@taiga-ui/i18n';
|
|
3
3
|
export interface TuiInputPhoneInternationalOptions {
|
|
4
4
|
readonly countries: readonly TuiCountryIsoCode[];
|
|
@@ -8,5 +8,5 @@ export declare const TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS: TuiInputPhon
|
|
|
8
8
|
/**
|
|
9
9
|
* Default parameters for input phone international component
|
|
10
10
|
*/
|
|
11
|
-
export declare const TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS: InjectionToken<TuiInputPhoneInternationalOptions>;
|
|
12
|
-
export declare
|
|
11
|
+
export declare const TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS: import("@angular/core").InjectionToken<TuiInputPhoneInternationalOptions>;
|
|
12
|
+
export declare function tuiInputPhoneInternationalOptionsProvider(options: Partial<TuiInputPhoneInternationalOptions>): Provider;
|
|
@@ -6,7 +6,7 @@ import { TuiStringifiableItem } from '@taiga-ui/kit/classes';
|
|
|
6
6
|
import { TuiStatus } from '@taiga-ui/kit/types';
|
|
7
7
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
9
|
-
import { TuiInputTagOptions } from './input-tag
|
|
9
|
+
import { TuiInputTagOptions } from './input-tag.options';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class TuiInputTagComponent extends AbstractTuiMultipleControl<string> implements TuiFocusableElementAccessor, TuiDataListHost<string> {
|
|
12
12
|
private readonly el;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
2
|
import { TuiStatus } from '@taiga-ui/kit/types';
|
|
3
3
|
export interface TuiInputTagOptions {
|
|
4
4
|
readonly separator: RegExp | string;
|
|
@@ -9,5 +9,5 @@ export declare const TUI_INPUT_TAG_DEFAULT_OPTIONS: TuiInputTagOptions;
|
|
|
9
9
|
/**
|
|
10
10
|
* Default parameters for InputTag component
|
|
11
11
|
*/
|
|
12
|
-
export declare const TUI_INPUT_TAG_OPTIONS: InjectionToken<TuiInputTagOptions>;
|
|
13
|
-
export declare function tuiInputTagOptionsProvider(options: Partial<TuiInputTagOptions>):
|
|
12
|
+
export declare const TUI_INPUT_TAG_OPTIONS: import("@angular/core").InjectionToken<TuiInputTagOptions>;
|
|
13
|
+
export declare function tuiInputTagOptionsProvider(options: Partial<TuiInputTagOptions>): Provider;
|
|
@@ -4,7 +4,7 @@ import { MaskitoOptions } from '@maskito/core';
|
|
|
4
4
|
import { AbstractTuiNullableControl, TuiBooleanHandler, TuiFocusableElementAccessor, TuiTime, TuiTimeMode } from '@taiga-ui/cdk';
|
|
5
5
|
import { TuiDataListHost, TuiSizeL, TuiSizeS, TuiTextfieldSizeDirective } from '@taiga-ui/core';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
|
-
import { TuiInputTimeOptions } from './input-time
|
|
7
|
+
import { TuiInputTimeOptions } from './input-time.options';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class TuiInputTimeComponent extends AbstractTuiNullableControl<TuiTime> implements TuiFocusableElementAccessor, TuiDataListHost<TuiTime> {
|
|
10
10
|
private readonly timeTexts$;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
2
|
import { TuiContextWithImplicit, TuiTimeMode } from '@taiga-ui/cdk';
|
|
3
3
|
import { TuiSizeL, TuiSizeS } from '@taiga-ui/core';
|
|
4
4
|
import { TuiTimeFormatParts } from '@taiga-ui/kit/types';
|
|
@@ -15,5 +15,5 @@ export declare const TUI_INPUT_TIME_DEFAULT_OPTIONS: TuiInputTimeOptions;
|
|
|
15
15
|
/**
|
|
16
16
|
* Default parameters for InputTime component
|
|
17
17
|
*/
|
|
18
|
-
export declare const TUI_INPUT_TIME_OPTIONS: InjectionToken<TuiInputTimeOptions>;
|
|
19
|
-
export declare
|
|
18
|
+
export declare const TUI_INPUT_TIME_OPTIONS: import("@angular/core").InjectionToken<TuiInputTimeOptions>;
|
|
19
|
+
export declare function tuiInputTimeOptionsProvider(options: Partial<TuiInputTimeOptions>): Provider;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, NgZone, Renderer2 } from '@angular/core';
|
|
2
2
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { TuiLineClampOptions } from './line-clamp
|
|
4
|
+
import { TuiLineClampOptions } from './line-clamp.options';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class TuiLineClampComponent implements DoCheck, AfterViewInit {
|
|
7
7
|
private readonly el;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
|
+
export interface TuiLineClampOptions {
|
|
3
|
+
readonly showHint: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const TUI_LINE_CLAMP_DEFAULT_OPTIONS: TuiLineClampOptions;
|
|
6
|
+
/**
|
|
7
|
+
* Default parameters for LineClamp component
|
|
8
|
+
*/
|
|
9
|
+
export declare const TUI_LINE_CLAMP_OPTIONS: import("@angular/core").InjectionToken<TuiLineClampOptions>;
|
|
10
|
+
export declare function tuiLineClampOptionsProvider(options: Partial<TuiLineClampOptions>): Provider;
|
|
@@ -2,9 +2,9 @@ export * from './hide-selected.pipe';
|
|
|
2
2
|
export * from './multi-select.component';
|
|
3
3
|
export * from './multi-select.directive';
|
|
4
4
|
export * from './multi-select.module';
|
|
5
|
+
export * from './multi-select.options';
|
|
5
6
|
export * from './multi-select-group/multi-select-group.component';
|
|
6
7
|
export * from './multi-select-group/multi-select-group.directive';
|
|
7
|
-
export * from './multi-select-options';
|
|
8
8
|
export * from './native-multi-select/native-multi-select';
|
|
9
9
|
export * from './native-multi-select/native-multi-select.component';
|
|
10
10
|
export * from './native-multi-select/native-multi-select-group.component';
|
|
@@ -7,7 +7,7 @@ import { TuiArrowMode } from '@taiga-ui/kit/components/arrow';
|
|
|
7
7
|
import { TuiInputTagComponent } from '@taiga-ui/kit/components/input-tag';
|
|
8
8
|
import { TuiItemsHandlers } from '@taiga-ui/kit/tokens';
|
|
9
9
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
10
|
-
import { TuiMultiSelectOptions } from './multi-select
|
|
10
|
+
import { TuiMultiSelectOptions } from './multi-select.options';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class TuiMultiSelectComponent<T> extends AbstractTuiMultipleControl<T> implements TuiFocusableElementAccessor, TuiDataListHost<T> {
|
|
13
13
|
private readonly arrowMode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
2
|
import { TuiContextWithImplicit } from '@taiga-ui/cdk';
|
|
3
3
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
4
4
|
export interface TuiMultiSelectOptions<T> {
|
|
@@ -9,5 +9,5 @@ export declare const TUI_MULTI_SELECT_DEFAULT_OPTIONS: TuiMultiSelectOptions<unk
|
|
|
9
9
|
/**
|
|
10
10
|
* Default parameters for MultiSelect component
|
|
11
11
|
*/
|
|
12
|
-
export declare const TUI_MULTI_SELECT_OPTIONS: InjectionToken<TuiMultiSelectOptions<unknown>>;
|
|
13
|
-
export declare
|
|
12
|
+
export declare const TUI_MULTI_SELECT_OPTIONS: import("@angular/core").InjectionToken<TuiMultiSelectOptions<unknown>>;
|
|
13
|
+
export declare function tuiMultiSelectOptionsProvider<T>(options: Partial<TuiMultiSelectOptions<T>>): Provider;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from './pdf-viewer.component';
|
|
2
2
|
export * from './pdf-viewer.directive';
|
|
3
3
|
export * from './pdf-viewer.module';
|
|
4
|
+
export * from './pdf-viewer.options';
|
|
4
5
|
export * from './pdf-viewer.service';
|
|
5
|
-
export * from './pdf-viewer.tokens';
|
|
6
|
-
export * from './pdf-viewer-options';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnimationOptions } from '@angular/animations';
|
|
2
2
|
import { TuiDialog } from '@taiga-ui/cdk';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { TuiPdfViewerOptions } from './pdf-viewer
|
|
4
|
+
import { TuiPdfViewerOptions } from './pdf-viewer.options';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class TuiPdfViewerComponent<I, O> {
|
|
7
7
|
readonly animation: AnimationOptions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractTuiDialogDirective } from '@taiga-ui/cdk';
|
|
2
|
-
import { TuiPdfViewerOptions } from './pdf-viewer
|
|
2
|
+
import { TuiPdfViewerOptions } from './pdf-viewer.options';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TuiPdfViewerDirective<T> extends AbstractTuiDialogDirective<TuiPdfViewerOptions<T>> {
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerDirective<any>, never>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
|
+
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
3
|
+
export interface TuiPdfViewerOptions<I = undefined> {
|
|
4
|
+
readonly label: string;
|
|
5
|
+
readonly actions: PolymorpheusContent<TuiPdfViewerOptions<I>>;
|
|
6
|
+
readonly data: I;
|
|
7
|
+
}
|
|
8
|
+
declare type TuiPdfViewerDefaultOptions = Omit<TuiPdfViewerOptions<unknown>, 'data'>;
|
|
9
|
+
export declare const TUI_PDF_VIEWER_DEFAULT_OPTIONS: TuiPdfViewerDefaultOptions;
|
|
10
|
+
/**
|
|
11
|
+
* Default parameters for PdfViewer component
|
|
12
|
+
*/
|
|
13
|
+
export declare const TUI_PDF_VIEWER_OPTIONS: import("@angular/core").InjectionToken<TuiPdfViewerDefaultOptions>;
|
|
14
|
+
export declare function tuiPdfViewerOptionsProvider(options: Partial<TuiPdfViewerDefaultOptions>): Provider;
|
|
15
|
+
export {};
|
|
@@ -3,7 +3,7 @@ import { AbstractTuiDialogService, TuiBaseDialogContext } from '@taiga-ui/cdk';
|
|
|
3
3
|
import { PolymorpheusComponent, PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { TuiPdfViewerComponent } from './pdf-viewer.component';
|
|
6
|
-
import { TuiPdfViewerOptions } from './pdf-viewer
|
|
6
|
+
import { TuiPdfViewerOptions } from './pdf-viewer.options';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
declare type Content<G> = PolymorpheusContent<TuiBaseDialogContext<G> & TuiPdfViewerOptions<unknown>>;
|
|
9
9
|
export declare class TuiPdfViewerService extends AbstractTuiDialogService<TuiPdfViewerOptions<unknown>> {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
1
2
|
export interface TuiPushOptions {
|
|
2
3
|
readonly heading: string;
|
|
3
4
|
readonly type: string;
|
|
@@ -7,3 +8,9 @@ export interface TuiPushOptions {
|
|
|
7
8
|
readonly iconColor: string;
|
|
8
9
|
readonly buttons: readonly string[];
|
|
9
10
|
}
|
|
11
|
+
export declare const TUI_PUSH_DEFAULT_OPTIONS: TuiPushOptions;
|
|
12
|
+
/**
|
|
13
|
+
* Default parameters for Push component
|
|
14
|
+
*/
|
|
15
|
+
export declare const TUI_PUSH_OPTIONS: import("@angular/core").InjectionToken<TuiPushOptions>;
|
|
16
|
+
export declare function tuiPushOptionsProvider(options: Partial<TuiPushOptions>): Provider;
|
|
@@ -4,7 +4,7 @@ import { NgControl } from '@angular/forms';
|
|
|
4
4
|
import { AbstractTuiNullableControl, TuiFocusableElementAccessor, TuiIdentityMatcher, TuiNativeFocusableElement } from '@taiga-ui/cdk';
|
|
5
5
|
import { TuiSizeL } from '@taiga-ui/core';
|
|
6
6
|
import { TuiRadioGroupComponent } from '@taiga-ui/kit/components/radio-group';
|
|
7
|
-
import { TuiRadioOptions } from './radio
|
|
7
|
+
import { TuiRadioOptions } from './radio.options';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class TuiRadioComponent<T> extends AbstractTuiNullableControl<T> implements TuiFocusableElementAccessor {
|
|
10
10
|
readonly animation: AnimationOptions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
2
|
import { TuiSizeL } from '@taiga-ui/core';
|
|
3
3
|
export interface TuiRadioOptions {
|
|
4
4
|
readonly size: TuiSizeL;
|
|
@@ -12,5 +12,5 @@ export declare const TUI_RADIO_DEFAULT_OPTIONS: TuiRadioOptions;
|
|
|
12
12
|
/**
|
|
13
13
|
* Default parameters for Radio component
|
|
14
14
|
*/
|
|
15
|
-
export declare const TUI_RADIO_OPTIONS: InjectionToken<TuiRadioOptions>;
|
|
16
|
-
export declare
|
|
15
|
+
export declare const TUI_RADIO_OPTIONS: import("@angular/core").InjectionToken<TuiRadioOptions>;
|
|
16
|
+
export declare function tuiRadioOptionsProvider(options: Partial<TuiRadioOptions>): Provider;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { AbstractTuiControl, TuiFocusableElementAccessor } from '@taiga-ui/cdk';
|
|
4
|
-
import { TuiRatingOptions } from './rating
|
|
4
|
+
import { TuiRatingOptions } from './rating.options';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class TuiRatingComponent extends AbstractTuiControl<number> implements TuiFocusableElementAccessor {
|
|
7
7
|
private readonly options;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
2
|
export interface TuiRatingOptions {
|
|
3
3
|
readonly min: number;
|
|
4
4
|
readonly max: number;
|
|
@@ -9,5 +9,5 @@ export declare const TUI_RATING_DEFAULT_OPTIONS: TuiRatingOptions;
|
|
|
9
9
|
/**
|
|
10
10
|
* Default parameters for Rating component
|
|
11
11
|
*/
|
|
12
|
-
export declare const TUI_RATING_OPTIONS: InjectionToken<TuiRatingOptions>;
|
|
13
|
-
export declare
|
|
12
|
+
export declare const TUI_RATING_OPTIONS: import("@angular/core").InjectionToken<TuiRatingOptions>;
|
|
13
|
+
export declare function tuiRatingOptionsProvider(options: Partial<TuiRatingOptions>): Provider;
|
|
@@ -5,7 +5,7 @@ import { TuiDataListHost, TuiSizeL, TuiSizeM, TuiSizeS, TuiTextfieldCleanerDirec
|
|
|
5
5
|
import { TuiArrowMode } from '@taiga-ui/kit/components/arrow';
|
|
6
6
|
import { TuiItemsHandlers } from '@taiga-ui/kit/tokens';
|
|
7
7
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
8
|
-
import { TuiSelectOptions } from './select
|
|
8
|
+
import { TuiSelectOptions } from './select.options';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class TuiSelectComponent<T> extends AbstractTuiNullableControl<T> implements TuiFocusableElementAccessor, TuiDataListHost<T> {
|
|
11
11
|
private readonly textfieldCleaner;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
2
|
import { TuiValueContentContext } from '@taiga-ui/core';
|
|
3
3
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
4
4
|
export interface TuiSelectOptions<T> {
|
|
@@ -8,5 +8,5 @@ export declare const TUI_SELECT_DEFAULT_OPTIONS: TuiSelectOptions<unknown>;
|
|
|
8
8
|
/**
|
|
9
9
|
* Default parameters for Select component
|
|
10
10
|
*/
|
|
11
|
-
export declare const TUI_SELECT_OPTIONS: InjectionToken<TuiSelectOptions<unknown>>;
|
|
12
|
-
export declare
|
|
11
|
+
export declare const TUI_SELECT_OPTIONS: import("@angular/core").InjectionToken<TuiSelectOptions<unknown>>;
|
|
12
|
+
export declare function tuiSelectOptionsProvider<T>(options: Partial<TuiSelectOptions<T>>): Provider;
|
|
@@ -3,4 +3,4 @@ export * from './helpers/slider-readonly.directive';
|
|
|
3
3
|
export * from './helpers/slider-thumb-label/slider-thumb-label.component';
|
|
4
4
|
export * from './slider.component';
|
|
5
5
|
export * from './slider.module';
|
|
6
|
-
export * from './slider
|
|
6
|
+
export * from './slider.options';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, Injector } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { TuiSizeS } from '@taiga-ui/core';
|
|
4
|
-
import { TuiSliderOptions } from './slider
|
|
4
|
+
import { TuiSliderOptions } from './slider.options';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class TuiSliderComponent {
|
|
7
7
|
private readonly control;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
2
|
import { TuiSizeS } from '@taiga-ui/core';
|
|
3
3
|
export interface TuiSliderOptions {
|
|
4
4
|
readonly size: TuiSizeS;
|
|
@@ -8,5 +8,5 @@ export declare const TUI_SLIDER_DEFAULT_OPTIONS: TuiSliderOptions;
|
|
|
8
8
|
/**
|
|
9
9
|
* Default parameters for Slider component
|
|
10
10
|
*/
|
|
11
|
-
export declare const TUI_SLIDER_OPTIONS: InjectionToken<TuiSliderOptions>;
|
|
12
|
-
export declare function tuiSliderOptionsProvider(options: Partial<TuiSliderOptions>):
|
|
11
|
+
export declare const TUI_SLIDER_OPTIONS: import("@angular/core").InjectionToken<TuiSliderOptions>;
|
|
12
|
+
export declare function tuiSliderOptionsProvider(options: Partial<TuiSliderOptions>): Provider;
|
|
@@ -2,8 +2,8 @@ export * from './tab/tab.component';
|
|
|
2
2
|
export * from './tab/tab.providers';
|
|
3
3
|
export * from './tabs.directive';
|
|
4
4
|
export * from './tabs.module';
|
|
5
|
+
export * from './tabs.options';
|
|
5
6
|
export * from './tabs/tabs.component';
|
|
6
|
-
export * from './tabs-options';
|
|
7
7
|
export * from './tabs-vertical/tabs-vertical.component';
|
|
8
8
|
export * from './tabs-with-more/tabs-with-more.component';
|
|
9
9
|
export * from './tabs-with-more/tabs-with-more.providers';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, ElementRef, QueryList } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { TuiTabsDirective } from '../tabs.directive';
|
|
4
|
-
import { TuiTabsOptions } from '../tabs
|
|
4
|
+
import { TuiTabsOptions } from '../tabs.options';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class TuiTabsComponent implements AfterViewChecked {
|
|
7
7
|
private readonly options;
|
|
@@ -2,7 +2,7 @@ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, QueryList,
|
|
|
2
2
|
import { TuiActiveZoneDirective, TuiContextWithImplicit } from '@taiga-ui/cdk';
|
|
3
3
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { TuiTabsOptions } from '../tabs
|
|
5
|
+
import { TuiTabsOptions } from '../tabs.options';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class TuiTabsWithMoreComponent implements AfterViewInit {
|
|
8
8
|
private readonly options;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
2
|
export interface TuiTabsOptions {
|
|
3
3
|
readonly underline: boolean;
|
|
4
4
|
readonly exposeActive: boolean;
|
|
@@ -9,5 +9,5 @@ export declare const TUI_TABS_DEFAULT_OPTIONS: TuiTabsOptions;
|
|
|
9
9
|
/**
|
|
10
10
|
* Default parameters for Tabs component
|
|
11
11
|
*/
|
|
12
|
-
export declare const TUI_TABS_OPTIONS: InjectionToken<TuiTabsOptions>;
|
|
13
|
-
export declare
|
|
12
|
+
export declare const TUI_TABS_OPTIONS: import("@angular/core").InjectionToken<TuiTabsOptions>;
|
|
13
|
+
export declare function tuiTabsOptionsProvider(options: Partial<TuiTabsOptions>): Provider;
|
|
@@ -4,7 +4,7 @@ import { TuiBrightness, TuiSizeL, TuiSizeS, TuiSizeXS, TuiTextfieldController }
|
|
|
4
4
|
import { TuiStatus } from '@taiga-ui/kit/types';
|
|
5
5
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
|
-
import { TuiTagOptions } from './tag
|
|
7
|
+
import { TuiTagOptions } from './tag.options';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class TuiTagComponent {
|
|
10
10
|
private readonly el;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
2
|
import { TuiSizeL, TuiSizeS } from '@taiga-ui/core';
|
|
3
3
|
import { TuiStatus } from '@taiga-ui/kit/types';
|
|
4
4
|
export interface TuiTagOptions {
|
|
@@ -11,5 +11,5 @@ export declare const TUI_TAG_DEFAULT_OPTIONS: TuiTagOptions;
|
|
|
11
11
|
/**
|
|
12
12
|
* Default parameters for Tag component
|
|
13
13
|
*/
|
|
14
|
-
export declare const TUI_TAG_OPTIONS: InjectionToken<TuiTagOptions>;
|
|
15
|
-
export declare
|
|
14
|
+
export declare const TUI_TAG_OPTIONS: import("@angular/core").InjectionToken<TuiTagOptions>;
|
|
15
|
+
export declare function tuiTagOptionsProvider(options: Partial<TuiTagOptions>): Provider;
|
|
@@ -3,7 +3,7 @@ import { NgControl } from '@angular/forms';
|
|
|
3
3
|
import { AbstractTuiControl, TuiContextWithImplicit, TuiFocusableElementAccessor, TuiNativeFocusableElement } from '@taiga-ui/cdk';
|
|
4
4
|
import { TuiBrightness, TuiModeDirective, TuiSizeL, TuiSizeXS } from '@taiga-ui/core';
|
|
5
5
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
6
|
-
import { TuiToggleOptions } from './toggle
|
|
6
|
+
import { TuiToggleOptions } from './toggle.options';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class TuiToggleComponent extends AbstractTuiControl<boolean> implements TuiFocusableElementAccessor {
|
|
9
9
|
private readonly modeDirective;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
2
|
import { TuiContextWithImplicit } from '@taiga-ui/cdk';
|
|
3
3
|
import { TuiSizeL } from '@taiga-ui/core';
|
|
4
4
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
@@ -20,5 +20,5 @@ export declare const TUI_TOGGLE_DEFAULT_OPTIONS: TuiToggleOptions;
|
|
|
20
20
|
/**
|
|
21
21
|
* Default parameters for Toggle component
|
|
22
22
|
*/
|
|
23
|
-
export declare const TUI_TOGGLE_OPTIONS: InjectionToken<TuiToggleOptions>;
|
|
24
|
-
export declare
|
|
23
|
+
export declare const TUI_TOGGLE_OPTIONS: import("@angular/core").InjectionToken<TuiToggleOptions>;
|
|
24
|
+
export declare function tuiToggleOptionsProvider(options: Partial<TuiToggleOptions>): Provider;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, HostBinding, Inject } from '@angular/core';
|
|
2
2
|
import { TUI_TEXTFIELD_SIZE, TuiHostedDropdownComponent, tuiSizeBigger, } from '@taiga-ui/core';
|
|
3
3
|
import { PolymorpheusComponent } from '@tinkoff/ng-polymorpheus';
|
|
4
|
-
import { TUI_ARROW_OPTIONS } from './arrow
|
|
4
|
+
import { TUI_ARROW_OPTIONS } from './arrow.options';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "@taiga-ui/core";
|
|
7
7
|
import * as i2 from "@tinkoff/ng-polymorpheus";
|
|
@@ -45,4 +45,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
45
45
|
args: ['class._rotated']
|
|
46
46
|
}] } });
|
|
47
47
|
export const TUI_ARROW = new PolymorpheusComponent(TuiArrowComponent);
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJyb3cuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvYXJyb3cvYXJyb3cuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvYXJyb3cvYXJyb3cudGVtc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WNvbiBhcyBzcmNcIlxuICAgIFtzcmNdPVwic3JjXCJcbj48L3R1aS1zdmc+XG48bmctY29udGFpbmVyICpuZ0lmPVwiZHJvcGRvd24ub3BlbkNoYW5nZSB8IGFzeW5jXCI+PC9uZy1jb250YWluZXI+XG4iXX0=
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { tuiCreateOptions, tuiProvideOptions } from '@taiga-ui/cdk';
|
|
2
|
+
/** Default values for arrow options */
|
|
3
|
+
export const TUI_ARROW_DEFAULT_OPTIONS = {
|
|
4
|
+
iconSmall: `tuiIconChevronDown`,
|
|
5
|
+
iconLarge: `tuiIconChevronDownLarge`,
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Default parameters for arrow component
|
|
9
|
+
*/
|
|
10
|
+
export const TUI_ARROW_OPTIONS = tuiCreateOptions(TUI_ARROW_DEFAULT_OPTIONS);
|
|
11
|
+
export function tuiArrowOptionsProvider(options) {
|
|
12
|
+
return tuiProvideOptions(TUI_ARROW_OPTIONS, options, TUI_ARROW_DEFAULT_OPTIONS);
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJyb3cub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2Fycm93L2Fycm93Lm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFDLGdCQUFnQixFQUFFLGlCQUFpQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBUWxFLHVDQUF1QztBQUN2QyxNQUFNLENBQUMsTUFBTSx5QkFBeUIsR0FBb0I7SUFDdEQsU0FBUyxFQUFFLG9CQUFvQjtJQUMvQixTQUFTLEVBQUUseUJBQXlCO0NBQ3ZDLENBQUM7QUFFRjs7R0FFRztBQUNILE1BQ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