@taiga-ui/legacy 4.43.0 → 4.44.0-canary.ef702cb
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/arrow/arrow.options.d.ts +2 -1
- package/components/arrow/arrow.providers.d.ts +2 -1
- package/components/color-selector/color-selector.options.d.ts +3 -2
- package/components/input-copy/input-copy.options.d.ts +2 -1
- package/components/input-number/input-number.component.d.ts +2 -1
- package/components/input-number/input-number.options.d.ts +2 -1
- package/components/input-password/input-password.options.d.ts +2 -1
- package/components/input-phone/input-phone.options.d.ts +2 -1
- package/components/input-phone-international/input-phone-international.options.d.ts +2 -1
- package/components/input-tag/input-tag.options.d.ts +2 -1
- package/components/input-time/input-time.options.d.ts +2 -1
- package/components/multi-select/multi-select.module.d.ts +4 -0
- package/components/multi-select/multi-select.options.d.ts +2 -1
- package/components/select/select.options.d.ts +2 -1
- package/components/sheet/sheet-options.d.ts +2 -1
- package/components/sheet/sheet-tokens.d.ts +4 -3
- package/components/svg/svg-options.d.ts +3 -2
- package/components/table-bar/table-bar.options.d.ts +3 -2
- package/components/tag/tag.options.d.ts +2 -1
- package/directives/textfield-controller/textfield-appearance.directive.d.ts +2 -1
- package/directives/textfield-controller/textfield-cleaner.directive.d.ts +2 -1
- package/directives/textfield-controller/textfield-controller.provider.d.ts +2 -1
- package/directives/textfield-controller/textfield-custom-content.directive.d.ts +2 -1
- package/directives/textfield-controller/textfield-filler.directive.d.ts +2 -1
- package/directives/textfield-controller/textfield-icon-left.directive.d.ts +2 -1
- package/directives/textfield-controller/textfield-icon.directive.d.ts +2 -1
- package/directives/textfield-controller/textfield-label-outside.directive.d.ts +2 -1
- package/directives/textfield-controller/textfield-postfix.directive.d.ts +2 -1
- package/directives/textfield-controller/textfield-prefix.directive.d.ts +2 -1
- package/directives/textfield-controller/textfield-size.directive.d.ts +2 -1
- package/directives/textfield-controller/textfield.options.d.ts +2 -1
- package/esm2022/components/arrow/arrow.options.mjs +6 -3
- package/esm2022/components/arrow/arrow.providers.mjs +6 -3
- package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +2 -2
- package/esm2022/components/color-selector/color-selector.component.mjs +2 -2
- package/esm2022/components/color-selector/color-selector.options.mjs +9 -7
- package/esm2022/components/input-copy/input-copy.options.mjs +6 -3
- package/esm2022/components/input-number/input-number.component.mjs +6 -6
- package/esm2022/components/input-number/input-number.options.mjs +6 -3
- package/esm2022/components/input-password/input-password.options.mjs +6 -3
- package/esm2022/components/input-phone/input-phone.options.mjs +6 -3
- package/esm2022/components/input-phone-international/input-phone-international.component.mjs +3 -3
- package/esm2022/components/input-phone-international/input-phone-international.options.mjs +6 -3
- package/esm2022/components/input-tag/input-tag.component.mjs +2 -2
- package/esm2022/components/input-tag/input-tag.options.mjs +6 -3
- package/esm2022/components/input-time/input-time.options.mjs +6 -3
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +2 -2
- package/esm2022/components/multi-select/multi-select.module.mjs +5 -1
- package/esm2022/components/multi-select/multi-select.options.mjs +6 -3
- package/esm2022/components/multi-select-option/multi-select-option.component.mjs +2 -2
- package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +2 -2
- package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +2 -2
- package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +2 -2
- package/esm2022/components/select/select.options.mjs +6 -3
- package/esm2022/components/sheet/components/sheet/sheet.component.mjs +3 -3
- package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +2 -2
- package/esm2022/components/sheet/sheet-options.mjs +6 -4
- package/esm2022/components/sheet/sheet-tokens.mjs +5 -5
- package/esm2022/components/svg/svg-options.mjs +13 -11
- package/esm2022/components/table-bar/table-bar.component.mjs +3 -3
- package/esm2022/components/table-bar/table-bar.options.mjs +9 -4
- package/esm2022/components/tag/tag.component.mjs +2 -2
- package/esm2022/components/tag/tag.options.mjs +6 -3
- package/esm2022/components/textarea/textarea.component.mjs +2 -2
- package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +6 -4
- package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +6 -4
- package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +3 -4
- package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +6 -4
- package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +6 -4
- package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +6 -4
- package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +6 -4
- package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +6 -4
- package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +6 -4
- package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +6 -4
- package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +6 -4
- package/esm2022/directives/textfield-controller/textfield.options.mjs +6 -3
- package/esm2022/tokens/countries-masks.mjs +250 -248
- package/esm2022/tokens/focusable-item-accessor.mjs +4 -3
- package/esm2022/tokens/fonts-ready.mjs +5 -4
- package/esm2022/tokens/icons.mjs +5 -3
- package/esm2022/tokens/is-apple.mjs +5 -4
- package/esm2022/tokens/is-chromium.mjs +5 -4
- package/esm2022/tokens/is-firefox.mjs +6 -5
- package/esm2022/tokens/is-stackblitz.mjs +5 -4
- package/esm2022/tokens/month-formatter.mjs +3 -3
- package/esm2022/tokens/sanitizer.mjs +3 -3
- package/esm2022/tokens/textfield-appearance.mjs +5 -3
- package/esm2022/tokens/textfield-host.mjs +4 -3
- package/esm2022/tokens/touch-supported.mjs +5 -4
- package/esm2022/tokens/value-accessor.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs +8 -4
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +12 -11
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +5 -3
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs +8 -6
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs +5 -3
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +7 -5
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +5 -3
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +7 -5
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs +5 -3
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +11 -5
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +6 -6
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-select.mjs +5 -3
- package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs +13 -11
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-svg.mjs +12 -10
- package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +10 -6
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-tag.mjs +7 -5
- package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +36 -14
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-tokens.mjs +280 -262
- package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -1
- package/package.json +7 -7
- package/styles/mixins/mixins.less +8 -8
- package/styles/mixins/mixins.scss +8 -8
- package/styles/mixins/textfield.less +3 -3
- package/styles/mixins/textfield.scss +2 -2
- package/tokens/countries-masks.d.ts +2 -1
- package/tokens/focusable-item-accessor.d.ts +2 -1
- package/tokens/fonts-ready.d.ts +2 -1
- package/tokens/icons.d.ts +2 -1
- package/tokens/is-apple.d.ts +2 -1
- package/tokens/is-chromium.d.ts +2 -1
- package/tokens/is-firefox.d.ts +2 -1
- package/tokens/is-stackblitz.d.ts +2 -1
- package/tokens/month-formatter.d.ts +2 -1
- package/tokens/sanitizer.d.ts +2 -1
- package/tokens/textfield-appearance.d.ts +2 -1
- package/tokens/textfield-host.d.ts +2 -1
- package/tokens/touch-supported.d.ts +2 -1
- package/tokens/value-accessor.d.ts +2 -1
- package/utils/icons-path-factory.d.ts +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
4
|
/**
|
|
4
5
|
* @deprecated: drop in v5.0 use {@link TuiChevron}
|
|
@@ -15,5 +16,5 @@ export declare const TUI_ARROW_DEFAULT_OPTIONS: TuiArrowOptions;
|
|
|
15
16
|
* @deprecated: drop in v5.0
|
|
16
17
|
* Default parameters for arrow component
|
|
17
18
|
*/
|
|
18
|
-
export declare const TUI_ARROW_OPTIONS:
|
|
19
|
+
export declare const TUI_ARROW_OPTIONS: InjectionToken<TuiArrowOptions>;
|
|
19
20
|
export declare function tuiArrowOptionsProvider(options: Partial<TuiArrowOptions>): Provider;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiContext } from '@taiga-ui/cdk/types';
|
|
3
4
|
import type { TuiSizeL, TuiSizeM, TuiSizeS } from '@taiga-ui/core/types';
|
|
4
5
|
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
@@ -16,7 +17,7 @@ export declare const TUI_ARROW_DEFAULT_MODE: TuiArrowMode;
|
|
|
16
17
|
/**
|
|
17
18
|
* @deprecated: drop in v5.0 use {@link TuiChevron}
|
|
18
19
|
*/
|
|
19
|
-
export declare const TUI_ARROW_MODE:
|
|
20
|
+
export declare const TUI_ARROW_MODE: InjectionToken<TuiArrowMode>;
|
|
20
21
|
/**
|
|
21
22
|
* @deprecated: drop in v5.0 use {@link TuiChevron}
|
|
22
23
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiGradientDirection } from '@taiga-ui/cdk/utils/color';
|
|
3
|
-
export declare const TUI_COLOR_SELECTOR_MODE_NAMES:
|
|
4
|
+
export declare const TUI_COLOR_SELECTOR_MODE_NAMES: InjectionToken<[string, string]>;
|
|
4
5
|
export declare const TUI_DEFAULT_INPUT_COLORS: Map<string, string>;
|
|
5
6
|
export declare const TuiColorSelectorMode: {
|
|
6
7
|
readonly SolidColor: 0;
|
|
@@ -21,5 +22,5 @@ export interface TuiColorSelectorOptions {
|
|
|
21
22
|
};
|
|
22
23
|
}
|
|
23
24
|
export declare const TUI_COLOR_SELECTOR_DEFAULT_OPTIONS: TuiColorSelectorOptions;
|
|
24
|
-
export declare const TUI_COLOR_SELECTOR_OPTIONS:
|
|
25
|
+
export declare const TUI_COLOR_SELECTOR_OPTIONS: InjectionToken<TuiColorSelectorOptions>;
|
|
25
26
|
export declare function tuiColorSelectorOptionsProvider(options: Partial<TuiColorSelectorOptions>): Provider;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiContext } from '@taiga-ui/cdk/types';
|
|
3
4
|
import type { TuiHintDirection } from '@taiga-ui/core/directives/hint';
|
|
4
5
|
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
@@ -19,7 +20,7 @@ export declare const TUI_INPUT_COPY_DEFAULT_OPTIONS: TuiInputCopyOptions;
|
|
|
19
20
|
/**
|
|
20
21
|
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
21
22
|
*/
|
|
22
|
-
export declare const TUI_INPUT_COPY_OPTIONS:
|
|
23
|
+
export declare const TUI_INPUT_COPY_OPTIONS: InjectionToken<TuiInputCopyOptions>;
|
|
23
24
|
/**
|
|
24
25
|
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
25
26
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { QueryList } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { MaskitoOptions } from '@maskito/core';
|
|
3
4
|
import type { TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
4
5
|
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
@@ -10,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
10
11
|
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-number tuiInputNumberOptionsProvider} (from @taiga-ui/kit) (property `valueTransformer`) instead
|
|
11
12
|
* TODO(v5): delete it
|
|
12
13
|
*/
|
|
13
|
-
export declare const TUI_NUMBER_VALUE_TRANSFORMER:
|
|
14
|
+
export declare const TUI_NUMBER_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<number | null, unknown>>;
|
|
14
15
|
/**
|
|
15
16
|
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-number TuiInputNumber} (from @taiga-ui/kit) instead
|
|
16
17
|
* TODO(v5): delete it
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
/**
|
|
3
4
|
* @deprecated use new version of {@link TuiInputNumberOptions} (from @taiga-ui/kit) instead
|
|
4
5
|
* TODO(v5): delete it
|
|
@@ -21,7 +22,7 @@ export declare const TUI_INPUT_NUMBER_DEFAULT_OPTIONS: TuiInputNumberOptions;
|
|
|
21
22
|
* @deprecated use new version of {@link TUI_INPUT_NUMBER_OPTIONS} (from @taiga-ui/kit) instead
|
|
22
23
|
* TODO(v5): delete it
|
|
23
24
|
*/
|
|
24
|
-
export declare const TUI_INPUT_NUMBER_OPTIONS:
|
|
25
|
+
export declare const TUI_INPUT_NUMBER_OPTIONS: InjectionToken<TuiInputNumberOptions>;
|
|
25
26
|
/**
|
|
26
27
|
* @deprecated use new version of {@link tuiInputNumberOptionsProvider} (from @taiga-ui/kit) instead
|
|
27
28
|
* TODO(v5): delete it
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiContext } from '@taiga-ui/cdk/types';
|
|
3
4
|
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
4
5
|
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
@@ -18,7 +19,7 @@ export declare const TUI_INPUT_PASSWORD_DEFAULT_OPTIONS: TuiInputPasswordOptions
|
|
|
18
19
|
/**
|
|
19
20
|
* @deprecated use {@link TuiPassword} with {@link TuiTextfield}
|
|
20
21
|
*/
|
|
21
|
-
export declare const TUI_INPUT_PASSWORD_OPTIONS:
|
|
22
|
+
export declare const TUI_INPUT_PASSWORD_OPTIONS: InjectionToken<TuiInputPasswordOptions>;
|
|
22
23
|
/**
|
|
23
24
|
* @deprecated use {@link TuiPassword} with {@link TuiTextfield}
|
|
24
25
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
export interface TuiInputPhoneOptions {
|
|
3
4
|
readonly allowText: boolean;
|
|
4
5
|
readonly countryCode: string;
|
|
@@ -9,5 +10,5 @@ export declare const TUI_INPUT_PHONE_DEFAULT_OPTIONS: TuiInputPhoneOptions;
|
|
|
9
10
|
* @deprecated: drop in v5.0
|
|
10
11
|
* Default parameters for input phone component
|
|
11
12
|
*/
|
|
12
|
-
export declare const TUI_INPUT_PHONE_OPTIONS:
|
|
13
|
+
export declare const TUI_INPUT_PHONE_OPTIONS: InjectionToken<TuiInputPhoneOptions>;
|
|
13
14
|
export declare function tuiInputPhoneOptionsProvider(options: Partial<TuiInputPhoneOptions>): Provider;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiCountryIsoCode } from '@taiga-ui/i18n/types';
|
|
3
4
|
/**
|
|
4
5
|
* @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
|
|
@@ -17,7 +18,7 @@ export declare const TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS: TuiInputPhon
|
|
|
17
18
|
* @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
|
|
18
19
|
* https://taiga-ui.dev/components/input-phone-international
|
|
19
20
|
*/
|
|
20
|
-
export declare const TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS:
|
|
21
|
+
export declare const TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS: InjectionToken<TuiInputPhoneInternationalOptions>;
|
|
21
22
|
/**
|
|
22
23
|
* @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
|
|
23
24
|
* https://taiga-ui.dev/components/input-phone-international
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiStatus } from '@taiga-ui/legacy/utils';
|
|
3
4
|
/**
|
|
4
5
|
* TODO(v5): delete it
|
|
@@ -19,7 +20,7 @@ export declare const TUI_INPUT_TAG_DEFAULT_OPTIONS: TuiInputTagOptions;
|
|
|
19
20
|
* @deprecated: drop in v5.0
|
|
20
21
|
* Default parameters for InputTag component
|
|
21
22
|
*/
|
|
22
|
-
export declare const TUI_INPUT_TAG_OPTIONS:
|
|
23
|
+
export declare const TUI_INPUT_TAG_OPTIONS: InjectionToken<TuiInputTagOptions>;
|
|
23
24
|
/**
|
|
24
25
|
* TODO(v5): delete it
|
|
25
26
|
* @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiTimeMode } from '@taiga-ui/cdk/date-time';
|
|
3
4
|
import type { TuiContext } from '@taiga-ui/cdk/types';
|
|
4
5
|
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
@@ -34,7 +35,7 @@ export declare const TUI_INPUT_TIME_DEFAULT_OPTIONS: TuiInputTimeOptions;
|
|
|
34
35
|
* Default parameters for InputTime component
|
|
35
36
|
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
|
|
36
37
|
*/
|
|
37
|
-
export declare const TUI_INPUT_TIME_OPTIONS:
|
|
38
|
+
export declare const TUI_INPUT_TIME_OPTIONS: InjectionToken<TuiInputTimeOptions>;
|
|
38
39
|
/**
|
|
39
40
|
* TODO(v5): delete it
|
|
40
41
|
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
|
|
@@ -20,6 +20,10 @@ import * as i18 from "@taiga-ui/kit/pipes/stringify-content";
|
|
|
20
20
|
import * as i19 from "@taiga-ui/core/directives/dropdown";
|
|
21
21
|
import * as i20 from "@taiga-ui/core/components/data-list";
|
|
22
22
|
import * as i21 from "@taiga-ui/kit/components/data-list-wrapper";
|
|
23
|
+
/**
|
|
24
|
+
* TODO(v5): delete it
|
|
25
|
+
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-chip TuiInputChip} (from @taiga-ui/kit) instead
|
|
26
|
+
*/
|
|
23
27
|
export declare class TuiMultiSelectModule {
|
|
24
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectModule, never>;
|
|
25
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.TuiDropdownPortal, typeof i19.TuiDropdownManual, typeof i19.TuiDropdownHover, 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.TuiDropdownPortal, typeof i19.TuiDropdownManual, typeof i19.TuiDropdownHover, 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]>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiContext } from '@taiga-ui/cdk/types';
|
|
3
4
|
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
5
|
export interface TuiMultiSelectOptions<T> {
|
|
@@ -10,5 +11,5 @@ export declare const TUI_MULTI_SELECT_DEFAULT_OPTIONS: TuiMultiSelectOptions<unk
|
|
|
10
11
|
* @deprecated: drop in v5.0
|
|
11
12
|
* Default parameters for MultiSelect component
|
|
12
13
|
*/
|
|
13
|
-
export declare const TUI_MULTI_SELECT_OPTIONS:
|
|
14
|
+
export declare const TUI_MULTI_SELECT_OPTIONS: InjectionToken<TuiMultiSelectOptions<unknown>>;
|
|
14
15
|
export declare function tuiMultiSelectOptionsProvider<T>(options: Partial<TuiMultiSelectOptions<T>>): Provider;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiValueContentContext } from '@taiga-ui/core/types';
|
|
3
4
|
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
5
|
/**
|
|
@@ -17,7 +18,7 @@ export declare const TUI_SELECT_DEFAULT_OPTIONS: TuiSelectOptions<unknown>;
|
|
|
17
18
|
* TODO(v5): delete it
|
|
18
19
|
* @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
|
|
19
20
|
*/
|
|
20
|
-
export declare const TUI_SELECT_OPTIONS:
|
|
21
|
+
export declare const TUI_SELECT_OPTIONS: InjectionToken<TuiSelectOptions<unknown>>;
|
|
21
22
|
/**
|
|
22
23
|
* TODO(v5): delete it
|
|
23
24
|
* @deprecated use {@link https://taiga-ui.dev/components/select#override-option-component tuiAsOptionContent} with new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
2
3
|
import type { TuiSheet } from './sheet';
|
|
3
4
|
/**
|
|
@@ -23,4 +24,4 @@ export declare const TUI_SHEET_DEFAULT_OPTIONS: Omit<TuiSheetOptions, 'data'>;
|
|
|
23
24
|
* @deprecated: drop in v5.0 use {@link TuiSheetDialog}
|
|
24
25
|
* https://taiga-ui.dev/components/sheet-dialog
|
|
25
26
|
*/
|
|
26
|
-
export declare const TUI_SHEET_OPTIONS:
|
|
27
|
+
export declare const TUI_SHEET_OPTIONS: InjectionToken<Omit<TuiSheetOptions<undefined, unknown>, "data">>;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import type { Observable } from 'rxjs';
|
|
2
3
|
import type { TuiSheetRequiredProps } from './sheet';
|
|
3
4
|
/**
|
|
4
5
|
* @deprecated: drop in v5.0 use {@link TuiSheetDialog}
|
|
5
6
|
* https://taiga-ui.dev/components/sheet-dialog
|
|
6
7
|
*/
|
|
7
|
-
export declare const TUI_SHEET:
|
|
8
|
+
export declare const TUI_SHEET: InjectionToken<TuiSheetRequiredProps<unknown>>;
|
|
8
9
|
/**
|
|
9
10
|
* @deprecated: drop in v5.0 use {@link TuiSheetDialog}
|
|
10
11
|
* https://taiga-ui.dev/components/sheet-dialog
|
|
11
12
|
*/
|
|
12
|
-
export declare const TUI_SHEET_SCROLL:
|
|
13
|
+
export declare const TUI_SHEET_SCROLL: InjectionToken<Observable<number>>;
|
|
13
14
|
/**
|
|
14
15
|
* @deprecated: drop in v5.0 use {@link TuiSheetDialog}
|
|
15
16
|
* https://taiga-ui.dev/components/sheet-dialog
|
|
16
17
|
*/
|
|
17
|
-
export declare const TUI_SHEET_DRAGGED:
|
|
18
|
+
export declare const TUI_SHEET_DRAGGED: InjectionToken<Observable<boolean>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { FactoryProvider, Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiHandler, TuiSafeHtml, TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
3
4
|
/**
|
|
4
5
|
* @deprecated: drop in v5.0 use {@link TuiIcon}
|
|
@@ -30,12 +31,12 @@ export declare const TUI_SVG_DEFAULT_OPTIONS: TuiSvgOptions;
|
|
|
30
31
|
* @deprecated: drop in v5.0 use {@link TuiIcon}
|
|
31
32
|
* https://taiga-ui.dev/components/icon
|
|
32
33
|
*/
|
|
33
|
-
export declare const TUI_SVG_OPTIONS:
|
|
34
|
+
export declare const TUI_SVG_OPTIONS: InjectionToken<TuiSvgOptions>;
|
|
34
35
|
/**
|
|
35
36
|
* @deprecated: drop in v5.0 use {@link TuiIcon}
|
|
36
37
|
* https://taiga-ui.dev/components/icon
|
|
37
38
|
*/
|
|
38
|
-
export declare const TUI_SVG_SRC_INTERCEPTORS:
|
|
39
|
+
export declare const TUI_SVG_SRC_INTERCEPTORS: InjectionToken<TuiSvgInterceptorHandler>;
|
|
39
40
|
/**
|
|
40
41
|
* @deprecated: drop in v5.0 use {@link TuiIcon}
|
|
41
42
|
* https://taiga-ui.dev/components/icon
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import { BehaviorSubject } from 'rxjs';
|
|
3
4
|
/**
|
|
4
5
|
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
@@ -13,7 +14,7 @@ export interface TuiTableBarOptions {
|
|
|
13
14
|
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
14
15
|
* https://taiga-ui.dev/components/actions-bar
|
|
15
16
|
*/
|
|
16
|
-
export declare const TUI_TABLE_BARS:
|
|
17
|
+
export declare const TUI_TABLE_BARS: InjectionToken<BehaviorSubject<readonly any[]>>;
|
|
17
18
|
/**
|
|
18
19
|
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
19
20
|
* https://taiga-ui.dev/components/actions-bar
|
|
@@ -23,7 +24,7 @@ export declare const TUI_TABLE_BAR_DEFAULT_OPTIONS: TuiTableBarOptions;
|
|
|
23
24
|
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
24
25
|
* https://taiga-ui.dev/components/actions-bar
|
|
25
26
|
*/
|
|
26
|
-
export declare const TUI_TABLE_BAR_OPTIONS:
|
|
27
|
+
export declare const TUI_TABLE_BAR_OPTIONS: InjectionToken<TuiTableBarOptions>;
|
|
27
28
|
/**
|
|
28
29
|
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
29
30
|
* https://taiga-ui.dev/components/actions-bar
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
3
4
|
import type { TuiStatus } from '@taiga-ui/legacy/utils';
|
|
4
5
|
/**
|
|
@@ -19,7 +20,7 @@ export declare const TUI_TAG_DEFAULT_OPTIONS: TuiTagOptions;
|
|
|
19
20
|
* @deprecated: drop in v5.0 use {@link TuiChip}
|
|
20
21
|
* https://taiga-ui.dev/components/chip
|
|
21
22
|
*/
|
|
22
|
-
export declare const TUI_TAG_OPTIONS:
|
|
23
|
+
export declare const TUI_TAG_OPTIONS: InjectionToken<TuiTagOptions>;
|
|
23
24
|
/**
|
|
24
25
|
* @deprecated: drop in v5.0 use {@link TuiChip}
|
|
25
26
|
* https://taiga-ui.dev/components/chip
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import { AbstractTuiController } from '@taiga-ui/legacy/classes';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const TUI_TEXTFIELD_APPEARANCE_DIRECTIVE:
|
|
4
|
+
export declare const TUI_TEXTFIELD_APPEARANCE_DIRECTIVE: InjectionToken<TuiTextfieldAppearanceDirective>;
|
|
4
5
|
export declare class TuiTextfieldAppearanceDirective extends AbstractTuiController {
|
|
5
6
|
appearance: string;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldAppearanceDirective, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import { AbstractTuiController } from '@taiga-ui/legacy/classes';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const TUI_TEXTFIELD_CLEANER:
|
|
4
|
+
export declare const TUI_TEXTFIELD_CLEANER: InjectionToken<TuiTextfieldCleanerDirective>;
|
|
4
5
|
export declare class TuiTextfieldCleanerDirective extends AbstractTuiController {
|
|
5
6
|
cleaner: boolean;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldCleanerDirective, never>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import { TuiTextfieldController } from './textfield.controller';
|
|
3
|
-
export declare const TUI_TEXTFIELD_WATCHED_CONTROLLER:
|
|
4
|
+
export declare const TUI_TEXTFIELD_WATCHED_CONTROLLER: InjectionToken<TuiTextfieldController>;
|
|
4
5
|
export declare const TEXTFIELD_CONTROLLER_PROVIDER: Provider;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import { AbstractTuiController } from '@taiga-ui/legacy/classes';
|
|
2
3
|
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const TUI_TEXTFIELD_CUSTOM_CONTENT:
|
|
5
|
+
export declare const TUI_TEXTFIELD_CUSTOM_CONTENT: InjectionToken<TuiTextfieldCustomContentDirective>;
|
|
5
6
|
export declare class TuiTextfieldCustomContentDirective extends AbstractTuiController {
|
|
6
7
|
customContent: PolymorpheusContent;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldCustomContentDirective, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import { AbstractTuiController } from '@taiga-ui/legacy/classes';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const TUI_TEXTFIELD_FILLER:
|
|
4
|
+
export declare const TUI_TEXTFIELD_FILLER: InjectionToken<TuiTextfieldFillerDirective>;
|
|
4
5
|
export declare class TuiTextfieldFillerDirective extends AbstractTuiController {
|
|
5
6
|
filler: string;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldFillerDirective, never>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import type { TuiContext } from '@taiga-ui/cdk/types';
|
|
2
3
|
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
3
4
|
import { AbstractTuiController } from '@taiga-ui/legacy/classes';
|
|
4
5
|
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare const TUI_TEXTFIELD_ICON_LEFT:
|
|
7
|
+
export declare const TUI_TEXTFIELD_ICON_LEFT: InjectionToken<TuiTextfieldIconLeftDirective>;
|
|
7
8
|
export declare class TuiTextfieldIconLeftDirective extends AbstractTuiController {
|
|
8
9
|
iconStart: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldIconLeftDirective, never>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import type { TuiContext } from '@taiga-ui/cdk/types';
|
|
2
3
|
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
3
4
|
import { AbstractTuiController } from '@taiga-ui/legacy/classes';
|
|
4
5
|
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare const TUI_TEXTFIELD_ICON:
|
|
7
|
+
export declare const TUI_TEXTFIELD_ICON: InjectionToken<TuiTextfieldIconDirective>;
|
|
7
8
|
export declare class TuiTextfieldIconDirective extends AbstractTuiController {
|
|
8
9
|
icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldIconDirective, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import { AbstractTuiController } from '@taiga-ui/legacy/classes';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const TUI_TEXTFIELD_LABEL_OUTSIDE:
|
|
4
|
+
export declare const TUI_TEXTFIELD_LABEL_OUTSIDE: InjectionToken<TuiTextfieldLabelOutsideDirective>;
|
|
4
5
|
export declare class TuiTextfieldLabelOutsideDirective extends AbstractTuiController {
|
|
5
6
|
labelOutside: boolean;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldLabelOutsideDirective, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import { AbstractTuiController } from '@taiga-ui/legacy/classes';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const TUI_TEXTFIELD_POSTFIX:
|
|
4
|
+
export declare const TUI_TEXTFIELD_POSTFIX: InjectionToken<TuiTextfieldPostfixDirective>;
|
|
4
5
|
export declare class TuiTextfieldPostfixDirective extends AbstractTuiController {
|
|
5
6
|
postfix: string;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldPostfixDirective, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import { AbstractTuiController } from '@taiga-ui/legacy/classes';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const TUI_TEXTFIELD_PREFIX:
|
|
4
|
+
export declare const TUI_TEXTFIELD_PREFIX: InjectionToken<TuiTextfieldPrefixDirective>;
|
|
4
5
|
export declare class TuiTextfieldPrefixDirective extends AbstractTuiController {
|
|
5
6
|
prefix: string;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldPrefixDirective, never>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
2
3
|
import { AbstractTuiController } from '@taiga-ui/legacy/classes';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const TUI_TEXTFIELD_SIZE:
|
|
5
|
+
export declare const TUI_TEXTFIELD_SIZE: InjectionToken<TuiTextfieldSizeDirective>;
|
|
5
6
|
export declare class TuiTextfieldSizeDirective extends AbstractTuiController {
|
|
6
7
|
size: TuiSizeL | TuiSizeS;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldSizeDirective, never>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiContext } from '@taiga-ui/cdk/types';
|
|
3
4
|
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
4
5
|
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
@@ -15,5 +16,5 @@ export declare const TUI_TEXTFIELD_DEFAULT_OPTIONS: TuiTextfieldOptions;
|
|
|
15
16
|
* @deprecated: drop in v5.0
|
|
16
17
|
* Default parameters for textfield
|
|
17
18
|
*/
|
|
18
|
-
export declare const TUI_TEXTFIELD_OPTIONS:
|
|
19
|
+
export declare const TUI_TEXTFIELD_OPTIONS: InjectionToken<TuiTextfieldOptions>;
|
|
19
20
|
export declare function tuiTextfieldOptionsProvider(options: Partial<TuiTextfieldOptions>): Provider;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
2
3
|
/**
|
|
3
4
|
* @deprecated: drop in v5.0 use {@link TuiChevron}
|
|
4
5
|
*/
|
|
@@ -10,8 +11,10 @@ export const TUI_ARROW_DEFAULT_OPTIONS = {
|
|
|
10
11
|
* @deprecated: drop in v5.0
|
|
11
12
|
* Default parameters for arrow component
|
|
12
13
|
*/
|
|
13
|
-
export const TUI_ARROW_OPTIONS =
|
|
14
|
+
export const TUI_ARROW_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_ARROW_OPTIONS' : '', {
|
|
15
|
+
factory: () => TUI_ARROW_DEFAULT_OPTIONS,
|
|
16
|
+
});
|
|
14
17
|
export function tuiArrowOptionsProvider(options) {
|
|
15
18
|
return tuiProvideOptions(TUI_ARROW_OPTIONS, options, TUI_ARROW_DEFAULT_OPTIONS);
|
|
16
19
|
}
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJyb3cub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xlZ2FjeS9jb21wb25lbnRzL2Fycm93L2Fycm93Lm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFDLGNBQWMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM3QyxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQztBQVdwRTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLHlCQUF5QixHQUFvQjtJQUN0RCxTQUFTLEVBQUUsbUJBQW1CO0lBQzlCLFNBQVMsRUFBRSxtQkFBbUI7Q0FDakMsQ0FBQztBQUVGOzs7R0FHRztBQUNILE1BQU0sQ0FBQyxNQUFNLGlCQUFpQixHQUFHLElBQUksY0FBYyxDQUMvQyxTQUFTLENBQUMsQ0FBQyxDQUFDLG1CQUFtQixDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQ3BDO0lBQ0ksT0FBTyxFQUFFLEdBQUcsRUFBRSxDQUFDLHlCQUF5QjtDQUMzQyxDQUNKLENBQUM7QUFFRixNQUFNLFVBQVUsdUJBQXVCLENBQUMsT0FBaUM7SUFDckUsT0FBTyxpQkFBaUIsQ0FBQyxpQkFBaUIsRUFBRSxPQUFPLEVBQUUseUJBQXlCLENBQUMsQ0FBQztBQUNwRixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUge1Byb3ZpZGVyfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7SW5qZWN0aW9uVG9rZW59IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHt0dWlQcm92aWRlT3B0aW9uc30gZnJvbSAnQHRhaWdhLXVpL2Nkay91dGlscy9taXNjZWxsYW5lb3VzJztcbmltcG9ydCB0eXBlIHtQb2x5bW9ycGhldXNDb250ZW50fSBmcm9tICdAdGFpZ2EtdWkvcG9seW1vcnBoZXVzJztcblxuLyoqXG4gKiBAZGVwcmVjYXRlZDogZHJvcCBpbiB2NS4wIHVzZSB7QGxpbmsgVHVpQ2hldnJvbn1cbiAqL1xuZXhwb3J0IGludGVyZmFjZSBUdWlBcnJvd09wdGlvbnMge1xuICAgIHJlYWRvbmx5IGljb25MYXJnZTogUG9seW1vcnBoZXVzQ29udGVudDtcbiAgICByZWFkb25seSBpY29uU21hbGw6IFBvbHltb3JwaGV1c0NvbnRlbnQ7XG59XG5cbi8qKlxuICogQGRlcHJlY2F0ZWQ6IGRyb3AgaW4gdjUuMCB1c2Uge0BsaW5rIFR1aUNoZXZyb259XG4gKi9cbmV4cG9ydCBjb25zdCBUVUlfQVJST1dfREVGQVVMVF9PUFRJT05TOiBUdWlBcnJvd09wdGlvbnMgPSB7XG4gICAgaWNvblNtYWxsOiAnQHR1aS5jaGV2cm9uLWRvd24nLFxuICAgIGljb25MYXJnZTogJ0B0dWkuY2hldnJvbi1kb3duJyxcbn07XG5cbi8qKlxuICogQGRlcHJlY2F0ZWQ6IGRyb3AgaW4gdjUuMFxuICogRGVmYXVsdCBwYXJhbWV0ZXJzIGZvciBhcnJvdyBjb21wb25lbnRcbiAqL1xuZXhwb3J0IGNvbnN0IFRVSV9BUlJPV19PUFRJT05TID0gbmV3IEluamVjdGlvblRva2VuKFxuICAgIG5nRGV2TW9kZSA/ICdUVUlfQVJST1dfT1BUSU9OUycgOiAnJyxcbiAgICB7XG4gICAgICAgIGZhY3Rvcnk6ICgpID0+IFRVSV9BUlJPV19ERUZBVUxUX09QVElPTlMsXG4gICAgfSxcbik7XG5cbmV4cG9ydCBmdW5jdGlvbiB0dWlBcnJvd09wdGlvbnNQcm92aWRlcihvcHRpb25zOiBQYXJ0aWFsPFR1aUFycm93T3B0aW9ucz4pOiBQcm92aWRlciB7XG4gICAgcmV0dXJuIHR1aVByb3ZpZGVPcHRpb25zKFRVSV9BUlJPV19PUFRJT05TLCBvcHRpb25zLCBUVUlfQVJST1dfREVGQVVMVF9PUFRJT05TKTtcbn1cbiJdfQ==
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
2
3
|
import { TUI_ARROW } from './arrow.component';
|
|
3
4
|
/**
|
|
4
5
|
* @deprecated: drop in v5.0 use {@link TuiChevron}
|
|
@@ -10,11 +11,13 @@ export const TUI_ARROW_DEFAULT_MODE = {
|
|
|
10
11
|
/**
|
|
11
12
|
* @deprecated: drop in v5.0 use {@link TuiChevron}
|
|
12
13
|
*/
|
|
13
|
-
export const TUI_ARROW_MODE =
|
|
14
|
+
export const TUI_ARROW_MODE = new InjectionToken(ngDevMode ? 'TUI_ARROW_MODE' : '', {
|
|
15
|
+
factory: () => TUI_ARROW_DEFAULT_MODE,
|
|
16
|
+
});
|
|
14
17
|
/**
|
|
15
18
|
* @deprecated: drop in v5.0 use {@link TuiChevron}
|
|
16
19
|
*/
|
|
17
20
|
export function tuiArrowModeProvider(options) {
|
|
18
21
|
return tuiProvideOptions(TUI_ARROW_MODE, options, TUI_ARROW_DEFAULT_MODE);
|
|
19
22
|
}
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJyb3cucHJvdmlkZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2NvbXBvbmVudHMvYXJyb3cvYXJyb3cucHJvdmlkZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFN0MsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFJcEUsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLG1CQUFtQixDQUFDO0FBVTVDOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sc0JBQXNCLEdBQWlCO0lBQ2hELFdBQVcsRUFBRSxTQUFTO0lBQ3RCLFFBQVEsRUFBRSxTQUFTO0NBQ3RCLENBQUM7QUFFRjs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLGNBQWMsR0FBRyxJQUFJLGNBQWMsQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLGdCQUFnQixDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUU7SUFDaEYsT0FBTyxFQUFFLEdBQUcsRUFBRSxDQUFDLHNCQUFzQjtDQUN4QyxDQUFDLENBQUM7QUFFSDs7R0FFRztBQUNILE1BQU0sVUFBVSxvQkFBb0IsQ0FBQyxPQUE4QjtJQUMvRCxPQUFPLGlCQUFpQixDQUFDLGNBQWMsRUFBRSxPQUFPLEVBQUUsc0JBQXNCLENBQUMsQ0FBQztBQUM5RSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUge1Byb3ZpZGVyfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7SW5qZWN0aW9uVG9rZW59IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHR5cGUge1R1aUNvbnRleHR9IGZyb20gJ0B0YWlnYS11aS9jZGsvdHlwZXMnO1xuaW1wb3J0IHt0dWlQcm92aWRlT3B0aW9uc30gZnJvbSAnQHRhaWdhLXVpL2Nkay91dGlscy9taXNjZWxsYW5lb3VzJztcbmltcG9ydCB0eXBlIHtUdWlTaXplTCwgVHVpU2l6ZU0sIFR1aVNpemVTfSBmcm9tICdAdGFpZ2EtdWkvY29yZS90eXBlcyc7XG5pbXBvcnQgdHlwZSB7UG9seW1vcnBoZXVzQ29udGVudH0gZnJvbSAnQHRhaWdhLXVpL3BvbHltb3JwaGV1cyc7XG5cbmltcG9ydCB7VFVJX0FSUk9XfSBmcm9tICcuL2Fycm93LmNvbXBvbmVudCc7XG5cbi8qKlxuICogQGRlcHJlY2F0ZWQ6IGRyb3AgaW4gdjUuMCB1c2Uge0BsaW5rIFR1aUNoZXZyb259XG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgVHVpQXJyb3dNb2RlIHtcbiAgICByZWFkb25seSBkaXNhYmxlZDogUG9seW1vcnBoZXVzQ29udGVudDxUdWlDb250ZXh0PFR1aVNpemVMIHwgVHVpU2l6ZU0gfCBUdWlTaXplUz4+O1xuICAgIHJlYWRvbmx5IGludGVyYWN0aXZlOiBQb2x5bW9ycGhldXNDb250ZW50PFR1aUNvbnRleHQ8VHVpU2l6ZUwgfCBUdWlTaXplTSB8IFR1aVNpemVTPj47XG59XG5cbi8qKlxuICogQGRlcHJlY2F0ZWQ6IGRyb3AgaW4gdjUuMCB1c2Uge0BsaW5rIFR1aUNoZXZyb259XG4gKi9cbmV4cG9ydCBjb25zdCBUVUlfQVJST1dfREVGQVVMVF9NT0RFOiBUdWlBcnJvd01vZGUgPSB7XG4gICAgaW50ZXJhY3RpdmU6IFRVSV9BUlJPVyxcbiAgICBkaXNhYmxlZDogVFVJX0FSUk9XLFxufTtcblxuLyoqXG4gKiBAZGVwcmVjYXRlZDogZHJvcCBpbiB2NS4wIHVzZSB7QGxpbmsgVHVpQ2hldnJvbn1cbiAqL1xuZXhwb3J0IGNvbnN0IFRVSV9BUlJPV19NT0RFID0gbmV3IEluamVjdGlvblRva2VuKG5nRGV2TW9kZSA/ICdUVUlfQVJST1dfTU9ERScgOiAnJywge1xuICAgIGZhY3Rvcnk6ICgpID0+IFRVSV9BUlJPV19ERUZBVUxUX01PREUsXG59KTtcblxuLyoqXG4gKiBAZGVwcmVjYXRlZDogZHJvcCBpbiB2NS4wIHVzZSB7QGxpbmsgVHVpQ2hldnJvbn1cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIHR1aUFycm93TW9kZVByb3ZpZGVyKG9wdGlvbnM6IFBhcnRpYWw8VHVpQXJyb3dNb2RlPik6IFByb3ZpZGVyIHtcbiAgICByZXR1cm4gdHVpUHJvdmlkZU9wdGlvbnMoVFVJX0FSUk9XX01PREUsIG9wdGlvbnMsIFRVSV9BUlJPV19ERUZBVUxUX01PREUpO1xufVxuIl19
|
|
@@ -53,7 +53,7 @@ class TuiColorPickerComponent {
|
|
|
53
53
|
this.colorChange.emit([...this.currentColor, this.opacity]);
|
|
54
54
|
}
|
|
55
55
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiColorPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
56
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiColorPickerComponent, selector: "tui-color-picker", inputs: { color: "color" }, outputs: { colorChange: "colorChange" }, ngImport: i0, template: "<tui-flat-picker\n class=\"t-flat\"\n [style.backgroundColor]=\"base\"\n [value]=\"point\"\n (valueChange)=\"onPointChange($event)\"\n/>\n<div class=\"t-wrapper t-wrapper_hue\">\n <tui-linear-picker\n class=\"t-hue\"\n [value]=\"hue\"\n (valueChange)=\"onHueChange($event)\"\n />\n</div>\n<div\n class=\"t-wrapper t-wrapper_opacity\"\n [style.background]=\"gradient\"\n>\n <tui-linear-picker\n class=\"t-opacity\"\n [value]=\"opacity\"\n (valueChange)=\"onOpacityChange($event)\"\n />\n</div>\n", styles: [":host{position:relative;display:block;isolation:isolate}.t-flat{block-size:14rem;background:linear-gradient(#0000,#000),linear-gradient(to right,#fff,#fff0);margin-
|
|
56
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiColorPickerComponent, selector: "tui-color-picker", inputs: { color: "color" }, outputs: { colorChange: "colorChange" }, ngImport: i0, template: "<tui-flat-picker\n class=\"t-flat\"\n [style.backgroundColor]=\"base\"\n [value]=\"point\"\n (valueChange)=\"onPointChange($event)\"\n/>\n<div class=\"t-wrapper t-wrapper_hue\">\n <tui-linear-picker\n class=\"t-hue\"\n [value]=\"hue\"\n (valueChange)=\"onHueChange($event)\"\n />\n</div>\n<div\n class=\"t-wrapper t-wrapper_opacity\"\n [style.background]=\"gradient\"\n>\n <tui-linear-picker\n class=\"t-opacity\"\n [value]=\"opacity\"\n (valueChange)=\"onOpacityChange($event)\"\n />\n</div>\n", styles: [":host{position:relative;display:block;isolation:isolate}.t-flat{block-size:14rem;background:linear-gradient(#0000,#000),linear-gradient(to right,#fff,#fff0);margin-block-end:.25rem;overflow:hidden}.t-wrapper{position:relative;margin:1rem 1.25rem;border-radius:.5rem}.t-wrapper:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";box-shadow:inset 0 0 0 1px #00000014;pointer-events:none;border-radius:inherit}.t-wrapper_hue{background:red}.t-wrapper_opacity:before{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";z-index:-1;background-image:linear-gradient(45deg,var(--tui-base-03) 25%,transparent 25%,transparent 75%,var(--tui-base-03) 75%,var(--tui-base-03)),linear-gradient(45deg,var(--tui-base-03) 25%,transparent 25%,transparent 75%,var(--tui-base-03) 75%,var(--tui-base-03));background-size:.375rem .375rem;background-position:0 0,.1875rem .1875rem;border-radius:inherit}.t-hue{background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red);border-radius:inherit;margin:0 .5rem}.t-opacity{border-radius:inherit;margin:0 .5rem}\n"], dependencies: [{ kind: "component", type: i1.TuiFlatPickerComponent, selector: "tui-flat-picker", inputs: ["value"], outputs: ["valueChange"] }, { kind: "component", type: i2.TuiLinearPickerComponent, selector: "tui-linear-picker", inputs: ["value"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
57
57
|
}
|
|
58
58
|
__decorate([
|
|
59
59
|
tuiPure
|
|
@@ -61,7 +61,7 @@ __decorate([
|
|
|
61
61
|
export { TuiColorPickerComponent };
|
|
62
62
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiColorPickerComponent, decorators: [{
|
|
63
63
|
type: Component,
|
|
64
|
-
args: [{ standalone: false, selector: 'tui-color-picker', changeDetection: ChangeDetectionStrategy.OnPush, template: "<tui-flat-picker\n class=\"t-flat\"\n [style.backgroundColor]=\"base\"\n [value]=\"point\"\n (valueChange)=\"onPointChange($event)\"\n/>\n<div class=\"t-wrapper t-wrapper_hue\">\n <tui-linear-picker\n class=\"t-hue\"\n [value]=\"hue\"\n (valueChange)=\"onHueChange($event)\"\n />\n</div>\n<div\n class=\"t-wrapper t-wrapper_opacity\"\n [style.background]=\"gradient\"\n>\n <tui-linear-picker\n class=\"t-opacity\"\n [value]=\"opacity\"\n (valueChange)=\"onOpacityChange($event)\"\n />\n</div>\n", styles: [":host{position:relative;display:block;isolation:isolate}.t-flat{block-size:14rem;background:linear-gradient(#0000,#000),linear-gradient(to right,#fff,#fff0);margin-
|
|
64
|
+
args: [{ standalone: false, selector: 'tui-color-picker', changeDetection: ChangeDetectionStrategy.OnPush, template: "<tui-flat-picker\n class=\"t-flat\"\n [style.backgroundColor]=\"base\"\n [value]=\"point\"\n (valueChange)=\"onPointChange($event)\"\n/>\n<div class=\"t-wrapper t-wrapper_hue\">\n <tui-linear-picker\n class=\"t-hue\"\n [value]=\"hue\"\n (valueChange)=\"onHueChange($event)\"\n />\n</div>\n<div\n class=\"t-wrapper t-wrapper_opacity\"\n [style.background]=\"gradient\"\n>\n <tui-linear-picker\n class=\"t-opacity\"\n [value]=\"opacity\"\n (valueChange)=\"onOpacityChange($event)\"\n />\n</div>\n", styles: [":host{position:relative;display:block;isolation:isolate}.t-flat{block-size:14rem;background:linear-gradient(#0000,#000),linear-gradient(to right,#fff,#fff0);margin-block-end:.25rem;overflow:hidden}.t-wrapper{position:relative;margin:1rem 1.25rem;border-radius:.5rem}.t-wrapper:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";box-shadow:inset 0 0 0 1px #00000014;pointer-events:none;border-radius:inherit}.t-wrapper_hue{background:red}.t-wrapper_opacity:before{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";z-index:-1;background-image:linear-gradient(45deg,var(--tui-base-03) 25%,transparent 25%,transparent 75%,var(--tui-base-03) 75%,var(--tui-base-03)),linear-gradient(45deg,var(--tui-base-03) 25%,transparent 25%,transparent 75%,var(--tui-base-03) 75%,var(--tui-base-03));background-size:.375rem .375rem;background-position:0 0,.1875rem .1875rem;border-radius:inherit}.t-hue{background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red);border-radius:inherit;margin:0 .5rem}.t-opacity{border-radius:inherit;margin:0 .5rem}\n"] }]
|
|
65
65
|
}], propDecorators: { colorChange: [{
|
|
66
66
|
type: Output
|
|
67
67
|
}], color: [{
|