@taiga-ui/experimental 3.54.0 → 3.55.0-canary.f5fbcc5
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-experimental-components-avatar.umd.js +19 -15
- package/bundles/taiga-ui-experimental-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-badge-notification.umd.js +7 -12
- package/bundles/taiga-ui-experimental-components-badge-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-badge.umd.js +112 -96
- package/bundles/taiga-ui-experimental-components-badge.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-badged-content.umd.js +1 -1
- package/bundles/taiga-ui-experimental-components-badged-content.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-button.umd.js +29 -27
- package/bundles/taiga-ui-experimental-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-checkbox.umd.js +13 -29
- package/bundles/taiga-ui-experimental-components-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-icon.umd.js +24 -43
- package/bundles/taiga-ui-experimental-components-icon.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-radio.umd.js +10 -21
- package/bundles/taiga-ui-experimental-components-radio.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-rating.umd.js +7 -7
- package/bundles/taiga-ui-experimental-components-rating.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-thumbnail-card.umd.js +29 -10
- package/bundles/taiga-ui-experimental-components-thumbnail-card.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-toggle.umd.js +14 -30
- package/bundles/taiga-ui-experimental-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives-appearance.umd.js +82 -0
- package/bundles/taiga-ui-experimental-directives-appearance.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js +95 -0
- package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental-directives-card.umd.js +89 -88
- package/bundles/taiga-ui-experimental-directives-card.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives-cell.umd.js +6 -11
- package/bundles/taiga-ui-experimental-directives-cell.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js +1 -1
- package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives-sensitive.umd.js +3 -3
- package/bundles/taiga-ui-experimental-directives-sensitive.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives-surface.umd.js +6 -5
- package/bundles/taiga-ui-experimental-directives-surface.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives-title.umd.js +5 -10
- package/bundles/taiga-ui-experimental-directives-title.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives.umd.js +16 -4
- package/bundles/taiga-ui-experimental-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-tokens.umd.js +31 -0
- package/bundles/taiga-ui-experimental-tokens.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental.umd.js +10 -4
- package/bundles/taiga-ui-experimental.umd.js.map +1 -1
- package/components/avatar/avatar.component.d.ts +5 -4
- package/components/avatar/avatar.module.d.ts +2 -2
- package/components/badge/badge.component.d.ts +1 -11
- package/components/badge/badge.directive.d.ts +12 -0
- package/components/badge/badge.module.d.ts +2 -1
- package/components/badge/badge.options.d.ts +2 -3
- package/components/badge/index.d.ts +1 -0
- package/components/badge-notification/badge-notification.component.d.ts +1 -3
- package/components/button/button.component.d.ts +1 -3
- package/components/button/button.directive.d.ts +6 -4
- package/components/checkbox/checkbox.component.d.ts +5 -9
- package/components/icon/icon.component.d.ts +5 -1
- package/components/icon/icon.module.d.ts +1 -2
- package/components/icon/index.d.ts +0 -1
- package/components/radio/radio.component.d.ts +3 -7
- package/components/rating/rating.module.d.ts +3 -3
- package/components/thumbnail-card/thumbnail-card.component.d.ts +4 -1
- package/components/thumbnail-card/thumbnail-card.module.d.ts +2 -2
- package/components/toggle/toggle.component.d.ts +5 -10
- package/directives/appearance/appearance.directive.d.ts +9 -0
- package/directives/appearance/appearance.module.d.ts +7 -0
- package/directives/appearance/index.d.ts +2 -0
- package/directives/appearance/package.json +10 -0
- package/directives/appearance/taiga-ui-experimental-directives-appearance.d.ts +5 -0
- package/directives/button-vertical/button-vertical.component.d.ts +5 -0
- package/directives/button-vertical/button-vertical.directive.d.ts +7 -0
- package/directives/button-vertical/button-vertical.module.d.ts +8 -0
- package/directives/button-vertical/index.d.ts +3 -0
- package/directives/button-vertical/package.json +10 -0
- package/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.d.ts +5 -0
- package/directives/card/card.component.d.ts +5 -0
- package/directives/card/card.directive.d.ts +0 -4
- package/directives/card/card.module.d.ts +3 -2
- package/directives/card/index.d.ts +1 -0
- package/directives/cell/cell.directive.d.ts +2 -3
- package/directives/index.d.ts +2 -0
- package/directives/sensitive/sensitive.module.d.ts +2 -1
- package/directives/title/title.directive.d.ts +2 -3
- package/esm2015/components/avatar/avatar.component.js +17 -12
- package/esm2015/components/avatar/avatar.module.js +5 -5
- package/esm2015/components/badge/badge.component.js +8 -36
- package/esm2015/components/badge/badge.directive.js +42 -0
- package/esm2015/components/badge/badge.module.js +5 -4
- package/esm2015/components/badge/badge.options.js +2 -2
- package/esm2015/components/badge/index.js +2 -1
- package/esm2015/components/badge-notification/badge-notification.component.js +4 -10
- package/esm2015/components/badged-content/badged-content.component.js +1 -1
- package/esm2015/components/button/button.component.js +3 -10
- package/esm2015/components/button/button.directive.js +21 -11
- package/esm2015/components/checkbox/checkbox.component.js +13 -29
- package/esm2015/components/icon/icon.component.js +20 -7
- package/esm2015/components/icon/icon.module.js +4 -5
- package/esm2015/components/icon/index.js +1 -2
- package/esm2015/components/radio/radio.component.js +7 -20
- package/esm2015/components/rating/rating.component.js +3 -3
- package/esm2015/components/rating/rating.module.js +5 -5
- package/esm2015/components/thumbnail-card/thumbnail-card.component.js +21 -5
- package/esm2015/components/thumbnail-card/thumbnail-card.module.js +5 -5
- package/esm2015/components/toggle/toggle.component.js +13 -29
- package/esm2015/directives/appearance/appearance.directive.js +30 -0
- package/esm2015/directives/appearance/appearance.module.js +16 -0
- package/esm2015/directives/appearance/index.js +3 -0
- package/esm2015/directives/appearance/taiga-ui-experimental-directives-appearance.js +5 -0
- package/esm2015/directives/button-vertical/button-vertical.component.js +19 -0
- package/esm2015/directives/button-vertical/button-vertical.directive.js +22 -0
- package/esm2015/directives/button-vertical/button-vertical.module.js +17 -0
- package/esm2015/directives/button-vertical/index.js +4 -0
- package/esm2015/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.js +5 -0
- package/esm2015/directives/card/card.component.js +19 -0
- package/esm2015/directives/card/card.directive.js +3 -18
- package/esm2015/directives/card/card.module.js +3 -2
- package/esm2015/directives/card/index.js +2 -1
- package/esm2015/directives/cell/cell.component.js +1 -1
- package/esm2015/directives/cell/cell.directive.js +7 -12
- package/esm2015/directives/index.js +3 -1
- package/esm2015/directives/progress-segmented/progress-segmented.component.js +1 -1
- package/esm2015/directives/sensitive/sensitive.component.js +1 -1
- package/esm2015/directives/sensitive/sensitive.module.js +4 -3
- package/esm2015/directives/surface/surface.component.js +1 -1
- package/esm2015/directives/surface/surface.directive.js +7 -6
- package/esm2015/directives/title/title.component.js +1 -1
- package/esm2015/directives/title/title.directive.js +6 -11
- package/esm2015/index.js +2 -1
- package/esm2015/tokens/icon-resolver.js +15 -0
- package/esm2015/tokens/index.js +2 -0
- package/esm2015/tokens/taiga-ui-experimental-tokens.js +5 -0
- package/fesm2015/taiga-ui-experimental-components-avatar.js +20 -15
- package/fesm2015/taiga-ui-experimental-components-avatar.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-badge-notification.js +3 -9
- package/fesm2015/taiga-ui-experimental-components-badge-notification.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-badge.js +40 -29
- package/fesm2015/taiga-ui-experimental-components-badge.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-badged-content.js +1 -1
- package/fesm2015/taiga-ui-experimental-components-badged-content.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-button.js +25 -22
- package/fesm2015/taiga-ui-experimental-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-checkbox.js +12 -28
- package/fesm2015/taiga-ui-experimental-components-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-icon.js +22 -37
- package/fesm2015/taiga-ui-experimental-components-icon.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-radio.js +7 -20
- package/fesm2015/taiga-ui-experimental-components-radio.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-rating.js +6 -6
- package/fesm2015/taiga-ui-experimental-components-rating.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-thumbnail-card.js +24 -8
- package/fesm2015/taiga-ui-experimental-components-thumbnail-card.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-toggle.js +12 -28
- package/fesm2015/taiga-ui-experimental-components-toggle.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives-appearance.js +50 -0
- package/fesm2015/taiga-ui-experimental-directives-appearance.js.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-button-vertical.js +58 -0
- package/fesm2015/taiga-ui-experimental-directives-button-vertical.js.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-card.js +1 -0
- package/fesm2015/taiga-ui-experimental-directives-card.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives-cell.js +7 -12
- package/fesm2015/taiga-ui-experimental-directives-cell.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives-progress-segmented.js +1 -1
- package/fesm2015/taiga-ui-experimental-directives-progress-segmented.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives-sensitive.js +3 -3
- package/fesm2015/taiga-ui-experimental-directives-sensitive.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives-surface.js +7 -6
- package/fesm2015/taiga-ui-experimental-directives-surface.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives-title.js +6 -11
- package/fesm2015/taiga-ui-experimental-directives-title.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives.js +2 -0
- package/fesm2015/taiga-ui-experimental-directives.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-tokens.js +22 -0
- package/fesm2015/taiga-ui-experimental-tokens.js.map +1 -0
- package/fesm2015/taiga-ui-experimental.js +1 -0
- package/fesm2015/taiga-ui-experimental.js.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +31 -31
- package/tokens/icon-resolver.d.ts +4 -0
- package/tokens/index.d.ts +1 -0
- package/tokens/package.json +10 -0
- package/tokens/taiga-ui-experimental-tokens.d.ts +5 -0
- package/components/icon/icon.pipe.d.ts +0 -12
- package/esm2015/components/icon/icon.pipe.js +0 -30
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Provider } from '@angular/core';
|
|
2
2
|
import { TuiSizeS, TuiSizeXL } from '@taiga-ui/core';
|
|
3
|
-
import { TuiStatus } from '@taiga-ui/kit';
|
|
4
3
|
export interface TuiBadgeOptions {
|
|
5
|
-
readonly appearance:
|
|
4
|
+
readonly appearance: string;
|
|
6
5
|
readonly size: TuiSizeS | TuiSizeXL;
|
|
7
|
-
readonly
|
|
6
|
+
readonly dot: boolean;
|
|
8
7
|
}
|
|
9
8
|
export declare const TUI_BADGE_DEFAULT_OPTIONS: TuiBadgeOptions;
|
|
10
9
|
export declare const TUI_BADGE_OPTIONS: import("@angular/core").InjectionToken<TuiBadgeOptions>;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { TuiPlatform } from '@taiga-ui/cdk';
|
|
2
1
|
import { TuiAnimationOptions, TuiSizeL, TuiSizeXS } from '@taiga-ui/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class TuiBadgeNotificationComponent {
|
|
5
|
-
readonly platform: TuiPlatform;
|
|
6
4
|
readonly animation: TuiAnimationOptions;
|
|
7
5
|
size: TuiSizeL | TuiSizeXS;
|
|
8
|
-
constructor(
|
|
6
|
+
constructor(animation: TuiAnimationOptions);
|
|
9
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiBadgeNotificationComponent, never>;
|
|
10
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiBadgeNotificationComponent, "tui-badge-notification", never, { "size": "size"; }, {}, never, ["*"]>;
|
|
11
9
|
}
|
|
@@ -5,12 +5,10 @@ export declare class TuiButtonComponent {
|
|
|
5
5
|
private readonly options;
|
|
6
6
|
size: "m" | "l" | "xl" | "s" | "xs";
|
|
7
7
|
loading: boolean | string | null;
|
|
8
|
-
iconLeft: string;
|
|
9
|
-
iconRight: string;
|
|
10
8
|
constructor(options: TuiButtonOptions);
|
|
11
9
|
get loaderSize(): TuiSizeS;
|
|
12
10
|
get label(): string;
|
|
13
11
|
onClick(event: MouseEvent): void;
|
|
14
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiButtonComponent, "[tuiButton][loading],[tuiIconButton][loading]
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiButtonComponent, "[tuiButton][loading],[tuiIconButton][loading]", never, { "size": "size"; "loading": "loading"; }, {}, never, ["*"]>;
|
|
16
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TuiDirectiveStylesService,
|
|
1
|
+
import { TuiDirectiveStylesService, TuiStringHandler } from '@taiga-ui/cdk';
|
|
2
2
|
import { TuiBrightness } from '@taiga-ui/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { TuiButtonOptions } from './button.options';
|
|
@@ -8,12 +8,14 @@ export declare class TuiButtonStylesComponent {
|
|
|
8
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiButtonStylesComponent, "ng-component", never, {}, {}, never, never>;
|
|
9
9
|
}
|
|
10
10
|
export declare class TuiButtonDirective {
|
|
11
|
+
readonly resolver: TuiStringHandler<string>;
|
|
11
12
|
private readonly options;
|
|
12
|
-
readonly platform: TuiPlatform;
|
|
13
13
|
readonly mode$: Observable<TuiBrightness | null>;
|
|
14
14
|
size: "m" | "l" | "xl" | "s" | "xs";
|
|
15
15
|
appearance: string;
|
|
16
|
-
|
|
16
|
+
iconLeft: string;
|
|
17
|
+
iconRight: string;
|
|
18
|
+
constructor(resolver: TuiStringHandler<string>, options: TuiButtonOptions, mode$: Observable<TuiBrightness | null>, directiveStyles: TuiDirectiveStylesService);
|
|
17
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiButtonDirective, "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", never, { "size": "size"; "appearance": "appearance"; }, {}, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiButtonDirective, "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", never, { "size": "size"; "appearance": "appearance"; "iconLeft": "iconLeft"; "iconRight": "iconRight"; }, {}, never>;
|
|
19
21
|
}
|
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
|
-
import {
|
|
4
|
-
import { TuiBrightness, TuiSvgOptions } from '@taiga-ui/core';
|
|
3
|
+
import { TuiStringHandler } from '@taiga-ui/cdk';
|
|
5
4
|
import { Observable } from 'rxjs';
|
|
6
5
|
import { TuiCheckboxOptions } from './checkbox.options';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class TuiCheckboxComponent implements OnInit {
|
|
9
8
|
private readonly cdr;
|
|
10
|
-
private readonly
|
|
11
|
-
private readonly svg;
|
|
9
|
+
private readonly resolver;
|
|
12
10
|
private readonly options;
|
|
13
11
|
private readonly destroy$;
|
|
14
12
|
private readonly el;
|
|
15
|
-
readonly mode$: Observable<TuiBrightness | null>;
|
|
16
|
-
readonly platform: TuiPlatform;
|
|
17
13
|
readonly control: NgControl | null;
|
|
18
|
-
size: import("@taiga-ui/core").TuiSizeS;
|
|
19
|
-
constructor(cdr: ChangeDetectorRef,
|
|
14
|
+
size: import("@taiga-ui/core/types").TuiSizeS;
|
|
15
|
+
constructor(cdr: ChangeDetectorRef, resolver: TuiStringHandler<string>, options: TuiCheckboxOptions, destroy$: Observable<unknown>, el: ElementRef<HTMLInputElement>, control: NgControl | null);
|
|
20
16
|
get icon(): string;
|
|
21
17
|
ngOnInit(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiCheckboxComponent, [null, null, null,
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiCheckboxComponent, [null, null, null, { self: true; }, null, { optional: true; }]>;
|
|
23
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiCheckboxComponent, "input[type=\"checkbox\"][tuiCheckbox]", never, { "size": "size"; }, {}, never, never>;
|
|
24
20
|
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import { TuiStringHandler } from '@taiga-ui/cdk';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class TuiIconComponent {
|
|
4
|
+
readonly resolver: TuiStringHandler<string>;
|
|
3
5
|
icon: string;
|
|
6
|
+
background: string;
|
|
7
|
+
constructor(resolver: TuiStringHandler<string>);
|
|
4
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiIconComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiIconComponent, "tui-icon", never, { "icon": "icon"; }, {}, never, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiIconComponent, "tui-icon", never, { "icon": "icon"; "background": "background"; }, {}, never, never>;
|
|
6
10
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./icon.component";
|
|
3
|
-
import * as i2 from "./icon.pipe";
|
|
4
3
|
export declare class TuiIconModule {
|
|
5
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiIconModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiIconModule, [typeof i1.TuiIconComponent
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiIconModule, [typeof i1.TuiIconComponent], never, [typeof i1.TuiIconComponent]>;
|
|
7
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiIconModule>;
|
|
8
7
|
}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { NgControl } from '@angular/forms';
|
|
2
|
-
import {
|
|
3
|
-
import { TuiBrightness, TuiSizeS } from '@taiga-ui/core';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
2
|
+
import { TuiSizeS } from '@taiga-ui/core';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class TuiRadioComponent {
|
|
7
|
-
readonly mode$: Observable<TuiBrightness | null>;
|
|
8
|
-
readonly platform: TuiPlatform;
|
|
9
5
|
readonly control: NgControl | null;
|
|
10
6
|
size: TuiSizeS;
|
|
11
|
-
constructor(
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiRadioComponent, [
|
|
7
|
+
constructor(control: NgControl | null);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiRadioComponent, [{ optional: true; }]>;
|
|
13
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiRadioComponent, "input[type=\"radio\"][tuiRadio]", never, { "size": "size"; }, {}, never, never>;
|
|
14
10
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./rating.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@
|
|
5
|
-
import * as i4 from "@
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@taiga-ui/experimental/components/icon";
|
|
6
6
|
import * as i5 from "@taiga-ui/cdk";
|
|
7
7
|
import * as i6 from "@tinkoff/ng-polymorpheus";
|
|
8
8
|
export declare class TuiRatingModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiRatingModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiRatingModule, [typeof i1.TuiRatingComponent], [typeof i2.CommonModule, typeof i3.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiRatingModule, [typeof i1.TuiRatingComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.TuiIconModule, typeof i5.TuiRepeatTimesModule, typeof i6.PolymorpheusModule], [typeof i1.TuiRatingComponent]>;
|
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiRatingModule>;
|
|
12
12
|
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { TuiInputCardOptions, TuiPaymentSystem } from '@taiga-ui/addon-commerce';
|
|
2
|
+
import { TuiStringHandler } from '@taiga-ui/cdk';
|
|
2
3
|
import { TuiSizeL, TuiSizeS } from '@taiga-ui/core';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TuiThumbnailCardComponent {
|
|
6
|
+
readonly resolver: TuiStringHandler<string>;
|
|
5
7
|
readonly options: TuiInputCardOptions;
|
|
6
8
|
size: TuiSizeL | TuiSizeS;
|
|
7
9
|
paymentSystem: TuiPaymentSystem | null;
|
|
8
10
|
iconLeft: string;
|
|
9
11
|
iconRight: string;
|
|
10
|
-
constructor(options: TuiInputCardOptions);
|
|
12
|
+
constructor(resolver: TuiStringHandler<string>, options: TuiInputCardOptions);
|
|
13
|
+
get isMono(): boolean;
|
|
11
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiThumbnailCardComponent, never>;
|
|
12
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiThumbnailCardComponent, "tui-thumbnail-card", never, { "size": "size"; "paymentSystem": "paymentSystem"; "iconLeft": "iconLeft"; "iconRight": "iconRight"; }, {}, never, ["*"]>;
|
|
13
16
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./thumbnail-card.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@taiga-ui/
|
|
4
|
+
import * as i3 from "@taiga-ui/experimental/components/icon";
|
|
5
5
|
export declare class TuiThumbnailCardModule {
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiThumbnailCardModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiThumbnailCardModule, [typeof i1.TuiThumbnailCardComponent], [typeof i2.CommonModule, typeof i3.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiThumbnailCardModule, [typeof i1.TuiThumbnailCardComponent], [typeof i2.CommonModule, typeof i3.TuiIconModule], [typeof i1.TuiThumbnailCardComponent]>;
|
|
8
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiThumbnailCardModule>;
|
|
9
9
|
}
|
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
import { NgControl } from '@angular/forms';
|
|
2
|
-
import {
|
|
3
|
-
import { TuiBrightness, TuiSvgOptions } from '@taiga-ui/core';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
2
|
+
import { TuiStringHandler } from '@taiga-ui/cdk';
|
|
5
3
|
import { TuiToggleOptions } from './toggle.options';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
export declare class TuiToggleComponent {
|
|
8
|
-
private readonly
|
|
9
|
-
private readonly svg;
|
|
6
|
+
private readonly resolver;
|
|
10
7
|
private readonly options;
|
|
11
|
-
readonly mode$: Observable<TuiBrightness | null>;
|
|
12
|
-
readonly platform: TuiPlatform;
|
|
13
8
|
readonly control: NgControl | null;
|
|
14
|
-
size: import("@taiga-ui/core").TuiSizeS;
|
|
9
|
+
size: import("@taiga-ui/core/types").TuiSizeS;
|
|
15
10
|
showIcons: boolean;
|
|
16
|
-
constructor(
|
|
11
|
+
constructor(resolver: TuiStringHandler<string>, options: TuiToggleOptions, control: NgControl | null);
|
|
17
12
|
get icon(): string;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiToggleComponent, [null, null,
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiToggleComponent, [null, null, { optional: true; }]>;
|
|
19
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiToggleComponent, "input[type=\"checkbox\"][tuiToggle]", never, { "size": "size"; "showIcons": "showIcons"; }, {}, never, never>;
|
|
20
15
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TuiInteractiveStateT } from '@taiga-ui/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TuiAppearanceDirective {
|
|
4
|
+
tuiAppearance: string;
|
|
5
|
+
tuiAppearanceState: TuiInteractiveStateT | null;
|
|
6
|
+
tuiAppearanceFocus: boolean | null;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAppearanceDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAppearanceDirective, "[tuiAppearance]", never, { "tuiAppearance": "tuiAppearance"; "tuiAppearanceState": "tuiAppearanceState"; "tuiAppearanceFocus": "tuiAppearanceFocus"; }, {}, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./appearance.directive";
|
|
3
|
+
export declare class TuiAppearanceModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAppearanceModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiAppearanceModule, [typeof i1.TuiAppearanceDirective], never, [typeof i1.TuiAppearanceDirective]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiAppearanceModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"main": "../../bundles/taiga-ui-experimental-directives-appearance.umd.js",
|
|
3
|
+
"module": "../../fesm2015/taiga-ui-experimental-directives-appearance.js",
|
|
4
|
+
"es2015": "../../fesm2015/taiga-ui-experimental-directives-appearance.js",
|
|
5
|
+
"esm2015": "../../esm2015/directives/appearance/taiga-ui-experimental-directives-appearance.js",
|
|
6
|
+
"fesm2015": "../../fesm2015/taiga-ui-experimental-directives-appearance.js",
|
|
7
|
+
"typings": "taiga-ui-experimental-directives-appearance.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@taiga-ui/experimental/directives/appearance"
|
|
10
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TuiButtonVerticalComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonVerticalComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiButtonVerticalComponent, "ng-component", never, {}, {}, never, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TuiButtonVerticalDirective {
|
|
4
|
+
constructor(directiveStyles: TuiDirectiveStylesService);
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonVerticalDirective, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiButtonVerticalDirective, "[tuiButtonVertical]", never, {}, {}, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./button-vertical.directive";
|
|
3
|
+
import * as i2 from "./button-vertical.component";
|
|
4
|
+
export declare class TuiButtonVerticalModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonVerticalModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiButtonVerticalModule, [typeof i1.TuiButtonVerticalDirective, typeof i2.TuiButtonVerticalComponent], never, [typeof i1.TuiButtonVerticalDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiButtonVerticalModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"main": "../../bundles/taiga-ui-experimental-directives-button-vertical.umd.js",
|
|
3
|
+
"module": "../../fesm2015/taiga-ui-experimental-directives-button-vertical.js",
|
|
4
|
+
"es2015": "../../fesm2015/taiga-ui-experimental-directives-button-vertical.js",
|
|
5
|
+
"esm2015": "../../esm2015/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.js",
|
|
6
|
+
"fesm2015": "../../fesm2015/taiga-ui-experimental-directives-button-vertical.js",
|
|
7
|
+
"typings": "taiga-ui-experimental-directives-button-vertical.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@taiga-ui/experimental/directives/button-vertical"
|
|
10
|
+
}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
2
2
|
import { TuiSizeL } from '@taiga-ui/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiCardComponent {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiCardComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiCardComponent, "ng-component", never, {}, {}, never, never>;
|
|
7
|
-
}
|
|
8
4
|
export declare class TuiCardDirective {
|
|
9
5
|
size: TuiSizeL | '';
|
|
10
6
|
constructor(directiveStyles: TuiDirectiveStylesService);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./card.
|
|
2
|
+
import * as i1 from "./card.component";
|
|
3
|
+
import * as i2 from "./card.directive";
|
|
3
4
|
export declare class TuiCardModule {
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiCardModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiCardModule, [typeof i1.TuiCardComponent, typeof
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiCardModule, [typeof i1.TuiCardComponent, typeof i2.TuiCardDirective], never, [typeof i2.TuiCardDirective]>;
|
|
6
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiCardModule>;
|
|
7
8
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { TuiDirectiveStylesService
|
|
1
|
+
import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
2
2
|
import { TuiSizeL, TuiSizeS } from '@taiga-ui/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TuiCellDirective {
|
|
5
|
-
readonly platform: TuiPlatform;
|
|
6
5
|
size: TuiSizeL | TuiSizeS | '';
|
|
7
|
-
constructor(
|
|
6
|
+
constructor(directiveStyles: TuiDirectiveStylesService);
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiCellDirective, never>;
|
|
9
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiCellDirective, "[tuiCell]", never, { "size": "tuiCell"; }, {}, never>;
|
|
10
9
|
}
|
package/directives/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from '@taiga-ui/experimental/directives/appearance';
|
|
2
|
+
export * from '@taiga-ui/experimental/directives/button-vertical';
|
|
1
3
|
export * from '@taiga-ui/experimental/directives/card';
|
|
2
4
|
export * from '@taiga-ui/experimental/directives/cell';
|
|
3
5
|
export * from '@taiga-ui/experimental/directives/fade';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./sensitive.directive";
|
|
3
|
+
import * as i2 from "./sensitive.component";
|
|
3
4
|
export declare class TuiSensitiveModule {
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSensitiveModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSensitiveModule, [typeof i1.TuiSensitiveDirective], never, [typeof i1.TuiSensitiveDirective]>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSensitiveModule, [typeof i1.TuiSensitiveDirective, typeof i2.TuiSensitiveComponent], never, [typeof i1.TuiSensitiveDirective]>;
|
|
6
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiSensitiveModule>;
|
|
7
8
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { TuiDirectiveStylesService
|
|
1
|
+
import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
2
2
|
import { TuiSizeL, TuiSizeS } from '@taiga-ui/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TuiTitleDirective {
|
|
5
|
-
readonly platform: TuiPlatform;
|
|
6
5
|
size: TuiSizeL | TuiSizeS | '';
|
|
7
|
-
constructor(
|
|
6
|
+
constructor(directiveStyles: TuiDirectiveStylesService);
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTitleDirective, never>;
|
|
9
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTitleDirective, "[tuiTitle]", never, { "size": "tuiTitle"; }, {}, never>;
|
|
10
9
|
}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Inject, Input } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { tuiIsString } from '@taiga-ui/cdk';
|
|
3
|
+
import { TUI_ICON_RESOLVER } from '@taiga-ui/experimental/tokens';
|
|
3
4
|
import { TUI_AVATAR_OPTIONS } from './avatar.options';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@
|
|
6
|
-
import * as i2 from "@
|
|
7
|
-
import * as i3 from "@taiga-ui/kit";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "@taiga-ui/kit";
|
|
8
8
|
export class TuiAvatarComponent {
|
|
9
|
-
constructor(options,
|
|
9
|
+
constructor(options, resolver) {
|
|
10
10
|
this.options = options;
|
|
11
|
-
this.
|
|
11
|
+
this.resolver = resolver;
|
|
12
12
|
this.size = this.options.size;
|
|
13
13
|
this.round = this.options.round;
|
|
14
14
|
this.src = null;
|
|
15
|
+
this.appearance = '';
|
|
15
16
|
}
|
|
16
17
|
get value() {
|
|
17
18
|
return this.src || '';
|
|
@@ -29,8 +30,8 @@ export class TuiAvatarComponent {
|
|
|
29
30
|
return this.value.length ? 'img' : 'content';
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
|
-
TuiAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarComponent, deps: [{ token: TUI_AVATAR_OPTIONS }, { token:
|
|
33
|
-
TuiAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAvatarComponent, selector: "tui-avatar", inputs: { size: "size", round: "round", src: "src" }, host: { properties: { "attr.data-
|
|
33
|
+
TuiAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarComponent, deps: [{ token: TUI_AVATAR_OPTIONS }, { token: TUI_ICON_RESOLVER }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
TuiAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAvatarComponent, selector: "tui-avatar", inputs: { size: "size", round: "round", src: "src", appearance: "appearance" }, host: { attributes: { "tuiAppearance": "" }, properties: { "attr.data-appearance": "appearance", "attr.data-size": "size", "attr.data-type": "type", "style.--t-mask": "\"url(\" + resolver(src) + \")\"", "class._round": "round" } }, ngImport: i0, template: "<ng-container [ngSwitch]=\"type\">\n <img\n *ngSwitchCase=\"'img'\"\n alt=\"\"\n loading=\"lazy\"\n [src]=\"value\"\n />\n <ng-container *ngSwitchCase=\"'text'\">{{ value }}</ng-container>\n <ng-container *ngSwitchDefault>\n <ng-content></ng-content>\n </ng-container>\n</ng-container>\n", styles: [":host{--t-size: 3.5rem;--t-radius: .75rem;position:relative;display:inline-flex;flex-shrink:0;width:var(--t-size);height:var(--t-size);align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:var(--t-radius);background:var(--tui-secondary);color:var(--tui-text-02);vertical-align:middle;box-sizing:border-box;padding:.25rem;opacity:.999}:host:before{position:absolute;top:0;left:0;width:100%;height:100%;background:currentColor;-webkit-mask:var(--t-mask) no-repeat center / 60%;mask:var(--t-mask) no-repeat center / 60%}:host[data-size=xxs]{--t-size: 1.5rem;--t-radius: .5rem;font:var(--tui-font-text-xs);font-weight:bold}:host[data-size=xxs][data-type=content]{font:var(--tui-font-text-m);font-size:.5625rem}:host[data-size=xs]{--t-size: 2rem;--t-radius: .5rem;font:var(--tui-font-text-s);font-weight:bold}:host[data-size=xs][data-type=content]{font:var(--tui-font-text-xs);font-weight:bold}:host[data-size=s]{--t-size: 2.5rem;--t-radius: .75rem;font:var(--tui-font-text-l);font-weight:bold}:host[data-size=s][data-type=content]{font:var(--tui-font-text-m);font-weight:bold}:host[data-size=m]{--t-size: 3.5rem;--t-radius: .75rem;font:var(--tui-font-heading-5)}:host[data-size=m][data-type=content]{font:var(--tui-font-text-l);font-weight:bold}:host[data-size=l]{--t-size: 5rem;--t-radius: .75rem;font:var(--tui-font-heading-3)}:host[data-size=l][data-type=content]{font:var(--tui-font-heading-4)}:host[data-size=xl]{--t-size: 6rem;--t-radius: 1rem;font:var(--tui-font-heading-3)}:host[data-size=xl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-size=xxl]{--t-size: 8rem;--t-radius: 1.25rem;font:var(--tui-font-heading-2)}:host[data-size=xxl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-type=img]{background:transparent}:host[data-type=icon]:before{content:\"\"}:host._round{--t-radius: calc(var(--t-size) / 2)}:host ::ng-deep img,:host ::ng-deep picture,:host ::ng-deep video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}\n"], directives: [{ type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i2.TuiLazyLoadingDirective, selector: "img[loading=\"lazy\"]", inputs: ["src"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
34
35
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarComponent, decorators: [{
|
|
35
36
|
type: Component,
|
|
36
37
|
args: [{
|
|
@@ -39,10 +40,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
39
40
|
styleUrls: ['./avatar.style.less'],
|
|
40
41
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
41
42
|
host: {
|
|
43
|
+
tuiAppearance: '',
|
|
44
|
+
'[attr.data-appearance]': 'appearance',
|
|
42
45
|
'[attr.data-size]': 'size',
|
|
43
|
-
'[attr.data-
|
|
46
|
+
'[attr.data-type]': 'type',
|
|
47
|
+
'[style.--t-mask]': '"url(" + resolver(src) + ")"',
|
|
44
48
|
'[class._round]': 'round',
|
|
45
|
-
'[class._img]': 'type === "img"',
|
|
46
49
|
},
|
|
47
50
|
}]
|
|
48
51
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -50,12 +53,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
50
53
|
args: [TUI_AVATAR_OPTIONS]
|
|
51
54
|
}] }, { type: undefined, decorators: [{
|
|
52
55
|
type: Inject,
|
|
53
|
-
args: [
|
|
56
|
+
args: [TUI_ICON_RESOLVER]
|
|
54
57
|
}] }]; }, propDecorators: { size: [{
|
|
55
58
|
type: Input
|
|
56
59
|
}], round: [{
|
|
57
60
|
type: Input
|
|
58
61
|
}], src: [{
|
|
59
62
|
type: Input
|
|
63
|
+
}], appearance: [{
|
|
64
|
+
type: Input
|
|
60
65
|
}] } });
|
|
61
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
66
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL2F2YXRhci9hdmF0YXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvYXZhdGFyL2F2YXRhci50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUVoRixPQUFPLEVBQUMsV0FBVyxFQUFtQixNQUFNLGVBQWUsQ0FBQztBQUM1RCxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSwrQkFBK0IsQ0FBQztBQUVoRSxPQUFPLEVBQUMsa0JBQWtCLEVBQW1CLE1BQU0sa0JBQWtCLENBQUM7Ozs7QUFnQnRFLE1BQU0sT0FBTyxrQkFBa0I7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wiJ3RleHQnXCI+e3sgdmFsdWUgfX08L25nLWNvbnRhaW5lcj5cbiAgICA8bmctY29udGFpbmVyICpuZ1N3aXRjaERlZmF1bHQ+XG4gICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICA8L25nLWNvbnRhaW5lcj5cbjwvbmctY29udGFpbmVyPlxuIl19
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { CommonModule } from '@angular/common';
|
|
2
2
|
import { NgModule } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { TuiIconModule } from '@taiga-ui/experimental/components/icon';
|
|
4
4
|
import { TuiLazyLoadingModule } from '@taiga-ui/kit';
|
|
5
5
|
import { TuiAvatarComponent } from './avatar.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class TuiAvatarModule {
|
|
8
8
|
}
|
|
9
9
|
TuiAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
TuiAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, declarations: [TuiAvatarComponent], imports: [CommonModule,
|
|
11
|
-
TuiAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, imports: [[CommonModule,
|
|
10
|
+
TuiAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, declarations: [TuiAvatarComponent], imports: [CommonModule, TuiIconModule, TuiLazyLoadingModule], exports: [TuiAvatarComponent] });
|
|
11
|
+
TuiAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, imports: [[CommonModule, TuiIconModule, TuiLazyLoadingModule]] });
|
|
12
12
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
|
-
imports: [CommonModule,
|
|
15
|
+
imports: [CommonModule, TuiIconModule, TuiLazyLoadingModule],
|
|
16
16
|
declarations: [TuiAvatarComponent],
|
|
17
17
|
exports: [TuiAvatarComponent],
|
|
18
18
|
}]
|
|
19
19
|
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL2F2YXRhci9hdmF0YXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxhQUFhLEVBQUMsTUFBTSx3Q0FBd0MsQ0FBQztBQUNyRSxPQUFPLEVBQUMsb0JBQW9CLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFbkQsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0sb0JBQW9CLENBQUM7O0FBT3RELE1BQU0sT0FBTyxlQUFlOzs2R0FBZixlQUFlOzhHQUFmLGVBQWUsaUJBSFQsa0JBQWtCLGFBRHZCLFlBQVksRUFBRSxhQUFhLEVBQUUsb0JBQW9CLGFBRWpELGtCQUFrQjs4R0FFbkIsZUFBZSxZQUpmLENBQUMsWUFBWSxFQUFFLGFBQWEsRUFBRSxvQkFBb0I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