@taiga-ui/experimental 3.45.0 → 3.46.0
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 +1 -1
- package/bundles/taiga-ui-experimental-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-badge-alert.umd.js +89 -0
- package/bundles/taiga-ui-experimental-components-badge-alert.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental-components-badge.umd.js +7 -9
- package/bundles/taiga-ui-experimental-components-badge.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-button.umd.js +147 -102
- package/bundles/taiga-ui-experimental-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-sensitive.umd.js +100 -0
- package/bundles/taiga-ui-experimental-components-sensitive.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental-components.umd.js +12 -6
- package/bundles/taiga-ui-experimental-components.umd.js.map +1 -1
- package/components/badge/badge.module.d.ts +1 -2
- package/components/badge-alert/badge-alert.component.d.ts +11 -0
- package/components/badge-alert/badge-alert.module.d.ts +7 -0
- package/components/badge-alert/index.d.ts +2 -0
- package/components/badge-alert/package.json +10 -0
- package/components/badge-alert/taiga-ui-experimental-components-badge-alert.d.ts +5 -0
- package/components/button/button.component.d.ts +8 -1
- package/components/button/button.directive.d.ts +4 -0
- package/components/button/button.module.d.ts +5 -3
- package/components/index.d.ts +2 -1
- package/components/sensitive/index.d.ts +3 -0
- package/components/sensitive/package.json +10 -0
- package/components/sensitive/sensitive.component.d.ts +5 -0
- package/components/sensitive/sensitive.directive.d.ts +9 -0
- package/components/sensitive/sensitive.module.d.ts +7 -0
- package/components/sensitive/taiga-ui-experimental-components-sensitive.d.ts +5 -0
- package/esm2015/components/avatar/avatar.component.js +1 -1
- package/esm2015/components/badge/badge.component.js +3 -4
- package/esm2015/components/badge/badge.module.js +3 -5
- package/esm2015/components/badge-alert/badge-alert.component.js +37 -0
- package/esm2015/components/badge-alert/badge-alert.module.js +16 -0
- package/esm2015/components/badge-alert/index.js +3 -0
- package/esm2015/components/badge-alert/taiga-ui-experimental-components-badge-alert.js +5 -0
- package/esm2015/components/button/button.component.js +33 -7
- package/esm2015/components/button/button.directive.js +16 -4
- package/esm2015/components/button/button.module.js +9 -6
- package/esm2015/components/index.js +3 -2
- package/esm2015/components/sensitive/index.js +4 -0
- package/esm2015/components/sensitive/sensitive.component.js +16 -0
- package/esm2015/components/sensitive/sensitive.directive.js +30 -0
- package/esm2015/components/sensitive/sensitive.module.js +16 -0
- package/esm2015/components/sensitive/taiga-ui-experimental-components-sensitive.js +5 -0
- package/fesm2015/taiga-ui-experimental-components-avatar.js +1 -1
- package/fesm2015/taiga-ui-experimental-components-avatar.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-badge-alert.js +57 -0
- package/fesm2015/taiga-ui-experimental-components-badge-alert.js.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-badge.js +4 -7
- package/fesm2015/taiga-ui-experimental-components-badge.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-button.js +54 -14
- package/fesm2015/taiga-ui-experimental-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-sensitive.js +63 -0
- package/fesm2015/taiga-ui-experimental-components-sensitive.js.map +1 -0
- package/fesm2015/taiga-ui-experimental-components.js +2 -1
- package/fesm2015/taiga-ui-experimental-components.js.map +1 -1
- package/package.json +4 -4
- package/bundles/taiga-ui-experimental-components-button-loader.umd.js +0 -94
- package/bundles/taiga-ui-experimental-components-button-loader.umd.js.map +0 -1
- package/components/button-loader/button-loader.component.d.ts +0 -10
- package/components/button-loader/button-loader.module.d.ts +0 -9
- package/components/button-loader/index.d.ts +0 -2
- package/components/button-loader/package.json +0 -10
- package/components/button-loader/taiga-ui-experimental-components-button-loader.d.ts +0 -5
- package/esm2015/components/button-loader/button-loader.component.js +0 -38
- package/esm2015/components/button-loader/button-loader.module.js +0 -19
- package/esm2015/components/button-loader/index.js +0 -3
- package/esm2015/components/button-loader/taiga-ui-experimental-components-button-loader.js +0 -5
- package/fesm2015/taiga-ui-experimental-components-button-loader.js +0 -60
- package/fesm2015/taiga-ui-experimental-components-button-loader.js.map +0 -1
|
@@ -1,15 +1,55 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Directive, Inject,
|
|
3
|
-
import * as
|
|
2
|
+
import { Component, ChangeDetectionStrategy, Input, ViewEncapsulation, Directive, Inject, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@taiga-ui/core';
|
|
4
|
+
import { tuiSizeBigger, TUI_MODE, MODE_PROVIDER, TuiSvgModule, TuiLoaderModule } from '@taiga-ui/core';
|
|
5
|
+
import * as i2 from '@angular/common';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import * as i2$1 from '@taiga-ui/cdk';
|
|
4
8
|
import { TUI_PLATFORM, TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
5
|
-
import
|
|
6
|
-
import * as i1 from 'rxjs';
|
|
9
|
+
import * as i1$1 from 'rxjs';
|
|
7
10
|
|
|
8
11
|
class TuiButtonComponent {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.size = 'l';
|
|
14
|
+
this.loading = false;
|
|
15
|
+
this.iconLeft = '';
|
|
16
|
+
this.iconRight = '';
|
|
17
|
+
this.disabled = false;
|
|
18
|
+
}
|
|
19
|
+
get loaderSize() {
|
|
20
|
+
return tuiSizeBigger(this.size) ? 'm' : 's';
|
|
21
|
+
}
|
|
9
22
|
}
|
|
10
23
|
TuiButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
TuiButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiButtonComponent, selector: "
|
|
24
|
+
TuiButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiButtonComponent, selector: "[tuiButton][loading],[tuiIconButton][loading],[tuiButton][iconLeft],[tuiButton][iconRight],[tuiIconButton][iconLeft]", inputs: { size: "size", loading: "loading", iconLeft: "iconLeft", iconRight: "iconRight", disabled: "disabled" }, host: { properties: { "disabled": "disabled || loading", "class._loading": "loading" } }, ngImport: i0, template: "<tui-svg\n *ngIf=\"iconLeft\"\n [src]=\"iconLeft\"\n></tui-svg>\n<ng-content></ng-content>\n<tui-svg\n *ngIf=\"iconRight\"\n class=\"t-icon\"\n [src]=\"iconRight\"\n></tui-svg>\n<tui-loader\n *ngIf=\"loading\"\n class=\"t-loader\"\n [inheritColor]=\"true\"\n [size]=\"loaderSize\"\n></tui-loader>\n", components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: i1.TuiLoaderComponent, selector: "tui-loader", inputs: ["size", "inheritColor", "overlay", "textContent", "showLoader"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12
25
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonComponent, decorators: [{
|
|
26
|
+
type: Component,
|
|
27
|
+
args: [{
|
|
28
|
+
selector: '[tuiButton][loading],[tuiIconButton][loading],[tuiButton][iconLeft],[tuiButton][iconRight],[tuiIconButton][iconLeft]',
|
|
29
|
+
templateUrl: './button.template.html',
|
|
30
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
31
|
+
host: {
|
|
32
|
+
'[disabled]': 'disabled || loading',
|
|
33
|
+
'[class._loading]': 'loading',
|
|
34
|
+
},
|
|
35
|
+
}]
|
|
36
|
+
}], propDecorators: { size: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}], loading: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}], iconLeft: [{
|
|
41
|
+
type: Input
|
|
42
|
+
}], iconRight: [{
|
|
43
|
+
type: Input
|
|
44
|
+
}], disabled: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}] } });
|
|
47
|
+
|
|
48
|
+
class TuiButtonStylesComponent {
|
|
49
|
+
}
|
|
50
|
+
TuiButtonStylesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonStylesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
+
TuiButtonStylesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiButtonStylesComponent, selector: "ng-component", ngImport: i0, template: '', isInline: true, styles: ["[tuiButtonNew]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;display:inline-flex;height:var(--t-size);align-items:center;justify-content:center;width:-webkit-min-content;width:min-content;white-space:nowrap;border-radius:var(--t-radius);-webkit-user-select:none;-moz-user-select:none;user-select:none;outline:none;cursor:pointer}[tuiButtonNew]>.t-icon{width:1rem;-webkit-margin-start:.125rem;margin-inline-start:.125rem;-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}[tuiButtonNew][data-size=xs]{--t-size: var(--tui-height-xs);--t-radius: var(--tui-radius-xs);font:var(--tui-font-text-s);padding:0 .375rem 0 .25rem;text-indent:.125rem;grid-gap:.125rem;gap:.125rem}[tuiButtonNew][data-size=xs] tui-svg{width:1rem}[tuiButtonNew][data-size=s]{--t-size: var(--tui-height-s);--t-radius: var(--tui-radius-s);font:var(--tui-font-text-s);padding:0 .625rem 0 .5rem;text-indent:.125rem;grid-gap:.125rem;gap:.125rem}[tuiButtonNew][data-size=s] tui-svg{width:1rem}[tuiButtonNew][data-size=m]{--t-size: var(--tui-height-m);--t-radius: var(--tui-radius-m);font:var(--tui-font-text-m);font-weight:bold;padding:0 1rem 0 .625rem;text-indent:.375rem;grid-gap:.125rem;gap:.125rem}[tuiButtonNew][data-size=m]>.t-icon{-webkit-margin-start:.375rem;margin-inline-start:.375rem}[tuiButtonNew][data-size=l]{--t-size: var(--tui-height-l);--t-radius: var(--tui-radius-l);font:var(--tui-font-text-m);font-weight:bold;padding:0 1.25rem 0 1rem;text-indent:.25rem;grid-gap:.25rem;gap:.25rem}[tuiButtonNew][data-size=l]>.t-icon{-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:-.25rem;margin-inline-end:-.25rem}[tuiButtonNew][data-platform=ios],[tuiButtonNew][data-platform=android]{width:100%}[tuiButtonNew][data-platform=ios][data-size=xs],[tuiButtonNew][data-platform=android][data-size=xs],[tuiButtonNew][data-platform=ios][data-size=s],[tuiButtonNew][data-platform=android][data-size=s],[tuiButtonNew][data-platform=ios][data-size=l],[tuiButtonNew][data-platform=android][data-size=l]{--t-radius: 1rem}[tuiButtonNew][data-platform=ios][data-size=m],[tuiButtonNew][data-platform=android][data-size=m]{--t-radius: .75rem}[tuiButtonNew] *{text-indent:0}[tuiButtonNew]._loading{--tui-disabled-opacity: 1;-webkit-text-fill-color:transparent}[tuiButtonNew]._loading>*{opacity:0}[tuiButtonNew]._loading>.t-loader{position:absolute;top:0;left:0;width:100%;height:100%;opacity:1}[tuiButtonNew]:disabled:not(._loading):not([data-platform=\"web\"]){background:var(--tui-clear);color:var(--tui-clear-active);opacity:1}[tuiButtonNew]:disabled:not(._loading):not([data-platform=\"web\"])[data-appearance=flat]{background:transparent}[tuiIconButton][tuiButtonNew]{width:var(--t-size);font-size:0;padding:0;text-indent:0;grid-gap:0;gap:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonStylesComponent, decorators: [{
|
|
13
53
|
type: Component,
|
|
14
54
|
args: [{
|
|
15
55
|
template: '',
|
|
@@ -18,14 +58,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
18
58
|
encapsulation: ViewEncapsulation.None,
|
|
19
59
|
}]
|
|
20
60
|
}] });
|
|
21
|
-
|
|
22
61
|
class TuiButtonDirective {
|
|
23
62
|
constructor(platform, mode$, directiveStyles) {
|
|
24
63
|
this.platform = platform;
|
|
25
64
|
this.mode$ = mode$;
|
|
26
65
|
this.size = 'l';
|
|
27
66
|
this.appearance = 'primary';
|
|
28
|
-
directiveStyles.addComponent(
|
|
67
|
+
directiveStyles.addComponent(TuiButtonStylesComponent);
|
|
29
68
|
}
|
|
30
69
|
}
|
|
31
70
|
TuiButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonDirective, deps: [{ token: TUI_PLATFORM }, { token: TUI_MODE }, { token: TuiDirectiveStylesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
@@ -47,10 +86,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
47
86
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
48
87
|
type: Inject,
|
|
49
88
|
args: [TUI_PLATFORM]
|
|
50
|
-
}] }, { type: i1.Observable, decorators: [{
|
|
89
|
+
}] }, { type: i1$1.Observable, decorators: [{
|
|
51
90
|
type: Inject,
|
|
52
91
|
args: [TUI_MODE]
|
|
53
|
-
}] }, { type: i2.TuiDirectiveStylesService, decorators: [{
|
|
92
|
+
}] }, { type: i2$1.TuiDirectiveStylesService, decorators: [{
|
|
54
93
|
type: Inject,
|
|
55
94
|
args: [TuiDirectiveStylesService]
|
|
56
95
|
}] }]; }, propDecorators: { size: [{
|
|
@@ -62,13 +101,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
62
101
|
class TuiButtonModule {
|
|
63
102
|
}
|
|
64
103
|
TuiButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
65
|
-
TuiButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, declarations: [TuiButtonDirective,
|
|
66
|
-
TuiButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule });
|
|
104
|
+
TuiButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, declarations: [TuiButtonComponent, TuiButtonDirective, TuiButtonStylesComponent], imports: [CommonModule, TuiSvgModule, TuiLoaderModule], exports: [TuiButtonComponent, TuiButtonDirective] });
|
|
105
|
+
TuiButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, imports: [[CommonModule, TuiSvgModule, TuiLoaderModule]] });
|
|
67
106
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, decorators: [{
|
|
68
107
|
type: NgModule,
|
|
69
108
|
args: [{
|
|
70
|
-
|
|
71
|
-
|
|
109
|
+
imports: [CommonModule, TuiSvgModule, TuiLoaderModule],
|
|
110
|
+
declarations: [TuiButtonComponent, TuiButtonDirective, TuiButtonStylesComponent],
|
|
111
|
+
exports: [TuiButtonComponent, TuiButtonDirective],
|
|
72
112
|
}]
|
|
73
113
|
}] });
|
|
74
114
|
|
|
@@ -76,5 +116,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
76
116
|
* Generated bundle index. Do not edit.
|
|
77
117
|
*/
|
|
78
118
|
|
|
79
|
-
export { TuiButtonComponent, TuiButtonDirective, TuiButtonModule };
|
|
119
|
+
export { TuiButtonComponent, TuiButtonDirective, TuiButtonModule, TuiButtonStylesComponent };
|
|
80
120
|
//# sourceMappingURL=taiga-ui-experimental-components-button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-components-button.js","sources":["../../../projects/experimental/components/button/button.component.ts","../../../projects/experimental/components/button/button.directive.ts","../../../projects/experimental/components/button/button.module.ts","../../../projects/experimental/components/button/taiga-ui-experimental-components-button.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component,
|
|
1
|
+
{"version":3,"file":"taiga-ui-experimental-components-button.js","sources":["../../../projects/experimental/components/button/button.component.ts","../../../projects/experimental/components/button/button.template.html","../../../projects/experimental/components/button/button.directive.ts","../../../projects/experimental/components/button/button.module.ts","../../../projects/experimental/components/button/taiga-ui-experimental-components-button.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Input} from '@angular/core';\nimport {tuiSizeBigger, TuiSizeL, TuiSizeS, TuiSizeXS} from '@taiga-ui/core';\n\n@Component({\n selector:\n '[tuiButton][loading],[tuiIconButton][loading],[tuiButton][iconLeft],[tuiButton][iconRight],[tuiIconButton][iconLeft]',\n templateUrl: './button.template.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[disabled]': 'disabled || loading',\n '[class._loading]': 'loading',\n },\n})\nexport class TuiButtonComponent {\n @Input()\n size: TuiSizeL | TuiSizeXS = 'l';\n\n @Input()\n loading = false;\n\n @Input()\n iconLeft = '';\n\n @Input()\n iconRight = '';\n\n @Input()\n disabled = false;\n\n get loaderSize(): TuiSizeS {\n return tuiSizeBigger(this.size) ? 'm' : 's';\n }\n}\n","<tui-svg\n *ngIf=\"iconLeft\"\n [src]=\"iconLeft\"\n></tui-svg>\n<ng-content></ng-content>\n<tui-svg\n *ngIf=\"iconRight\"\n class=\"t-icon\"\n [src]=\"iconRight\"\n></tui-svg>\n<tui-loader\n *ngIf=\"loading\"\n class=\"t-loader\"\n [inheritColor]=\"true\"\n [size]=\"loaderSize\"\n></tui-loader>\n","import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n Inject,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {TUI_PLATFORM, TuiDirectiveStylesService, TuiPlatform} from '@taiga-ui/cdk';\nimport {\n MODE_PROVIDER,\n TUI_MODE,\n TuiAppearance,\n TuiBrightness,\n TuiSizeL,\n TuiSizeXS,\n} from '@taiga-ui/core';\nimport {Observable} from 'rxjs';\n\n@Component({\n template: '',\n styleUrls: ['./button.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class TuiButtonStylesComponent {}\n\n@Directive({\n selector: 'a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]',\n providers: [MODE_PROVIDER],\n host: {\n tuiButtonNew: '',\n tuiWrapper: '',\n '[attr.data-size]': 'size',\n '[attr.data-appearance]': 'appearance',\n '[attr.data-platform]': 'platform',\n '($.data-mode.attr)': 'mode$',\n },\n})\nexport class TuiButtonDirective {\n @Input()\n size: TuiSizeL | TuiSizeXS = 'l';\n\n @Input()\n appearance: string | keyof Record<TuiAppearance, string> = 'primary';\n\n constructor(\n @Inject(TUI_PLATFORM) readonly platform: TuiPlatform,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiButtonStylesComponent);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiLoaderModule, TuiSvgModule} from '@taiga-ui/core';\n\nimport {TuiButtonComponent} from './button.component';\nimport {TuiButtonDirective, TuiButtonStylesComponent} from './button.directive';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule, TuiLoaderModule],\n declarations: [TuiButtonComponent, TuiButtonDirective, TuiButtonStylesComponent],\n exports: [TuiButtonComponent, TuiButtonDirective],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;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,eAAe,CAAC;AACtD,oBAAA,YAAY,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,wBAAwB,CAAC;AAChF,oBAAA,OAAO,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;AACpD,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Directive, Inject, Input, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@taiga-ui/cdk';
|
|
4
|
+
import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
5
|
+
|
|
6
|
+
class TuiSensitiveComponent {
|
|
7
|
+
}
|
|
8
|
+
TuiSensitiveComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSensitiveComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
TuiSensitiveComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiSensitiveComponent, selector: "ng-component", ngImport: i0, template: '', isInline: true, styles: [".tui-sensitive{position:relative;display:inline-block;border-radius:.25rem;line-height:1em}.tui-sensitive:before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";background:currentColor;border-radius:inherit;-webkit-mask-image:url('data:image/svg+xml,<svg width=\"360\" height=\"48\" viewBox=\"0 0 360 48\" fill=\"black\" xmlns=\"http://www.w3.org/2000/svg\"><rect opacity=\"0.2\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"336\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"120\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"216\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"312\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"144\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"192\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"288\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"240\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.24\" x=\"72\" width=\"24\" height=\"24\"/><rect opacity=\"0.34\" x=\"264\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"168\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"336\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"120\" y=\"0\" width=\"24\" height=\"24\" /><rect opacity=\"0.3\" x=\"216\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"24\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"312\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"144\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"192\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"48\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"288\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.38\" x=\"96\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"240\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"72\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"264\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" x=\"168\" y=\"0\" width=\"24\" height=\"24\"/></svg>');mask-image:url('data:image/svg+xml,<svg width=\"360\" height=\"48\" viewBox=\"0 0 360 48\" fill=\"black\" xmlns=\"http://www.w3.org/2000/svg\"><rect opacity=\"0.2\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"336\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"120\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"216\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"312\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"144\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"192\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"288\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"240\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.24\" x=\"72\" width=\"24\" height=\"24\"/><rect opacity=\"0.34\" x=\"264\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"168\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"336\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"120\" y=\"0\" width=\"24\" height=\"24\" /><rect opacity=\"0.3\" x=\"216\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"24\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"312\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"144\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"192\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"48\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"288\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.38\" x=\"96\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"240\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"72\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"264\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" x=\"168\" y=\"0\" width=\"24\" height=\"24\"/></svg>');-webkit-mask-size:auto 99%;mask-size:auto 99%;-webkit-mask-position:var(--t-offset, 0) 0;mask-position:var(--t-offset, 0) 0}.tui-sensitive.tui-sensitive{text-indent:-10000%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSensitiveComponent, decorators: [{
|
|
11
|
+
type: Component,
|
|
12
|
+
args: [{
|
|
13
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
14
|
+
template: '',
|
|
15
|
+
styleUrls: ['./sensitive.style.less'],
|
|
16
|
+
encapsulation: ViewEncapsulation.None,
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
|
|
20
|
+
class TuiSensitiveDirective {
|
|
21
|
+
constructor(directiveStyles) {
|
|
22
|
+
this.tuiSensitive = false;
|
|
23
|
+
this.offset = Math.round(Math.random() * 10) * 10;
|
|
24
|
+
directiveStyles.addComponent(TuiSensitiveComponent);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
TuiSensitiveDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSensitiveDirective, deps: [{ token: TuiDirectiveStylesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
+
TuiSensitiveDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiSensitiveDirective, selector: "[tuiSensitive]", inputs: { tuiSensitive: "tuiSensitive" }, host: { properties: { "style.--t-offset.px": "offset", "class.tui-sensitive": "tuiSensitive" } }, ngImport: i0 });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSensitiveDirective, decorators: [{
|
|
30
|
+
type: Directive,
|
|
31
|
+
args: [{
|
|
32
|
+
selector: '[tuiSensitive]',
|
|
33
|
+
host: {
|
|
34
|
+
'[style.--t-offset.px]': 'offset',
|
|
35
|
+
'[class.tui-sensitive]': 'tuiSensitive',
|
|
36
|
+
},
|
|
37
|
+
}]
|
|
38
|
+
}], ctorParameters: function () { return [{ type: i1.TuiDirectiveStylesService, decorators: [{
|
|
39
|
+
type: Inject,
|
|
40
|
+
args: [TuiDirectiveStylesService]
|
|
41
|
+
}] }]; }, propDecorators: { tuiSensitive: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}] } });
|
|
44
|
+
|
|
45
|
+
class TuiSensitiveModule {
|
|
46
|
+
}
|
|
47
|
+
TuiSensitiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSensitiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
48
|
+
TuiSensitiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSensitiveModule, declarations: [TuiSensitiveDirective], exports: [TuiSensitiveDirective] });
|
|
49
|
+
TuiSensitiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSensitiveModule });
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSensitiveModule, decorators: [{
|
|
51
|
+
type: NgModule,
|
|
52
|
+
args: [{
|
|
53
|
+
declarations: [TuiSensitiveDirective],
|
|
54
|
+
exports: [TuiSensitiveDirective],
|
|
55
|
+
}]
|
|
56
|
+
}] });
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Generated bundle index. Do not edit.
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
export { TuiSensitiveComponent, TuiSensitiveDirective, TuiSensitiveModule };
|
|
63
|
+
//# sourceMappingURL=taiga-ui-experimental-components-sensitive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taiga-ui-experimental-components-sensitive.js","sources":["../../../projects/experimental/components/sensitive/sensitive.component.ts","../../../projects/experimental/components/sensitive/sensitive.directive.ts","../../../projects/experimental/components/sensitive/sensitive.module.ts","../../../projects/experimental/components/sensitive/taiga-ui-experimental-components-sensitive.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '',\n styleUrls: ['./sensitive.style.less'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class TuiSensitiveComponent {}\n","import {Directive, Inject, Input} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\n\nimport {TuiSensitiveComponent} from './sensitive.component';\n\n@Directive({\n selector: '[tuiSensitive]',\n host: {\n '[style.--t-offset.px]': 'offset',\n '[class.tui-sensitive]': 'tuiSensitive',\n },\n})\nexport class TuiSensitiveDirective {\n @Input()\n tuiSensitive: boolean | null = false;\n\n readonly offset = Math.round(Math.random() * 10) * 10;\n\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiSensitiveComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiSensitiveDirective} from './sensitive.directive';\n\n@NgModule({\n declarations: [TuiSensitiveDirective],\n exports: [TuiSensitiveDirective],\n})\nexport class TuiSensitiveModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAQa,qBAAqB,CAAA;;mHAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,qBAAqB,oDAJpB,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,imJAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;4FAIH,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;oBACP,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,QAAQ,EAAE,EAAE;oBACZ,SAAS,EAAE,CAAC,wBAAwB,CAAC;oBACrC,aAAa,EAAE,iBAAiB,CAAC,IAAI;AACxC,iBAAA,CAAA;;;MCKY,qBAAqB,CAAA;AAM9B,IAAA,WAAA,CACuC,eAA0C,EAAA;QALjF,IAAY,CAAA,YAAA,GAAmB,KAAK,CAAC;AAE5B,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC;AAKlD,QAAA,eAAe,CAAC,YAAY,CAAC,qBAAqB,CAAC,CAAC;KACvD;;AAVQ,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA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iga-ui/experimental/components/avatar';
|
|
2
2
|
export * from '@taiga-ui/experimental/components/avatar-stack';
|
|
3
3
|
export * from '@taiga-ui/experimental/components/badge';
|
|
4
|
+
export * from '@taiga-ui/experimental/components/badge-alert';
|
|
4
5
|
export * from '@taiga-ui/experimental/components/button';
|
|
5
|
-
export * from '@taiga-ui/experimental/components/
|
|
6
|
+
export * from '@taiga-ui/experimental/components/sensitive';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-components.js","sources":["../../../projects/experimental/components/taiga-ui-experimental-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"taiga-ui-experimental-components.js","sources":["../../../projects/experimental/components/taiga-ui-experimental-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;;AAEG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/experimental",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.46.0",
|
|
4
4
|
"description": "A package with Taiga UI experimental components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"peerDependencies": {
|
|
14
14
|
"@angular/common": ">=12.0.0",
|
|
15
15
|
"@angular/core": ">=12.0.0",
|
|
16
|
-
"@taiga-ui/cdk": ">=3.
|
|
17
|
-
"@taiga-ui/core": ">=3.
|
|
18
|
-
"@taiga-ui/kit": ">=3.
|
|
16
|
+
"@taiga-ui/cdk": ">=3.46.0",
|
|
17
|
+
"@taiga-ui/core": ">=3.46.0",
|
|
18
|
+
"@taiga-ui/kit": ">=3.46.0",
|
|
19
19
|
"@tinkoff/ng-polymorpheus": ">=4.0.0",
|
|
20
20
|
"rxjs": ">=6.0.0"
|
|
21
21
|
},
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/core'), require('@angular/common')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/experimental/components/button-loader', ['exports', '@angular/core', '@taiga-ui/core', '@angular/common'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].experimental = global["taiga-ui"].experimental || {}, global["taiga-ui"].experimental.components = global["taiga-ui"].experimental.components || {}, global["taiga-ui"].experimental.components["button-loader"] = {}), global.ng.core, global.i1, global.ng.common));
|
|
5
|
-
})(this, (function (exports, i0, i1, i2) { 'use strict';
|
|
6
|
-
|
|
7
|
-
function _interopNamespace(e) {
|
|
8
|
-
if (e && e.__esModule) return e;
|
|
9
|
-
var n = Object.create(null);
|
|
10
|
-
if (e) {
|
|
11
|
-
Object.keys(e).forEach(function (k) {
|
|
12
|
-
if (k !== 'default') {
|
|
13
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () { return e[k]; }
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
n["default"] = e;
|
|
22
|
-
return Object.freeze(n);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
-
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
27
|
-
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
28
|
-
|
|
29
|
-
var TuiButtonLoaderComponent = /** @class */ (function () {
|
|
30
|
-
function TuiButtonLoaderComponent() {
|
|
31
|
-
this.size = 'l';
|
|
32
|
-
this.loading = false;
|
|
33
|
-
this.disabled = false;
|
|
34
|
-
}
|
|
35
|
-
Object.defineProperty(TuiButtonLoaderComponent.prototype, "loaderSize", {
|
|
36
|
-
get: function () {
|
|
37
|
-
return i1.tuiSizeBigger(this.size) ? 'm' : 's';
|
|
38
|
-
},
|
|
39
|
-
enumerable: false,
|
|
40
|
-
configurable: true
|
|
41
|
-
});
|
|
42
|
-
return TuiButtonLoaderComponent;
|
|
43
|
-
}());
|
|
44
|
-
TuiButtonLoaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiButtonLoaderComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
45
|
-
TuiButtonLoaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiButtonLoaderComponent, selector: "a[tuiButton][loading],button[tuiButton][loading],a[tuiIconButton][loading],button[tuiIconButton][loading]", inputs: { size: "size", loading: "loading", disabled: "disabled" }, host: { properties: { "disabled": "disabled || loading", "class._loading": "loading" } }, ngImport: i0__namespace, template: "<ng-content></ng-content>\n<tui-loader\n *ngIf=\"loading\"\n class=\"t-loader\"\n [inheritColor]=\"true\"\n [size]=\"loaderSize\"\n></tui-loader>\n", styles: ["[tuiButtonNew]._loading{--tui-disabled-opacity: 1;-webkit-text-fill-color:transparent}[tuiButtonNew]._loading>*{opacity:0}[tuiButtonNew]._loading .t-loader{position:absolute;top:0;left:0;width:100%;height:100%;opacity:1}\n"], components: [{ type: i1__namespace.TuiLoaderComponent, selector: "tui-loader", inputs: ["size", "inheritColor", "overlay", "textContent", "showLoader"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
46
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiButtonLoaderComponent, decorators: [{
|
|
47
|
-
type: i0.Component,
|
|
48
|
-
args: [{
|
|
49
|
-
selector: 'a[tuiButton][loading],button[tuiButton][loading],a[tuiIconButton][loading],button[tuiIconButton][loading]',
|
|
50
|
-
templateUrl: './button-loader.template.html',
|
|
51
|
-
styleUrls: ['./button-loader.style.less'],
|
|
52
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
53
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
54
|
-
host: {
|
|
55
|
-
'[disabled]': 'disabled || loading',
|
|
56
|
-
'[class._loading]': 'loading',
|
|
57
|
-
},
|
|
58
|
-
}]
|
|
59
|
-
}], propDecorators: { size: [{
|
|
60
|
-
type: i0.Input
|
|
61
|
-
}], loading: [{
|
|
62
|
-
type: i0.Input
|
|
63
|
-
}], disabled: [{
|
|
64
|
-
type: i0.Input
|
|
65
|
-
}] } });
|
|
66
|
-
|
|
67
|
-
var TuiButtonLoaderModule = /** @class */ (function () {
|
|
68
|
-
function TuiButtonLoaderModule() {
|
|
69
|
-
}
|
|
70
|
-
return TuiButtonLoaderModule;
|
|
71
|
-
}());
|
|
72
|
-
TuiButtonLoaderModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiButtonLoaderModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
73
|
-
TuiButtonLoaderModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiButtonLoaderModule, declarations: [TuiButtonLoaderComponent], imports: [i2.CommonModule, i1.TuiLoaderModule], exports: [TuiButtonLoaderComponent] });
|
|
74
|
-
TuiButtonLoaderModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiButtonLoaderModule, imports: [[i2.CommonModule, i1.TuiLoaderModule]] });
|
|
75
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiButtonLoaderModule, decorators: [{
|
|
76
|
-
type: i0.NgModule,
|
|
77
|
-
args: [{
|
|
78
|
-
imports: [i2.CommonModule, i1.TuiLoaderModule],
|
|
79
|
-
declarations: [TuiButtonLoaderComponent],
|
|
80
|
-
exports: [TuiButtonLoaderComponent],
|
|
81
|
-
}]
|
|
82
|
-
}] });
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Generated bundle index. Do not edit.
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
|
-
exports.TuiButtonLoaderComponent = TuiButtonLoaderComponent;
|
|
89
|
-
exports.TuiButtonLoaderModule = TuiButtonLoaderModule;
|
|
90
|
-
|
|
91
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
92
|
-
|
|
93
|
-
}));
|
|
94
|
-
//# sourceMappingURL=taiga-ui-experimental-components-button-loader.umd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-components-button-loader.umd.js","sources":["../../../projects/experimental/components/button-loader/button-loader.component.ts","../../../projects/experimental/components/button-loader/button-loader.template.html","../../../projects/experimental/components/button-loader/button-loader.module.ts","../../../projects/experimental/components/button-loader/taiga-ui-experimental-components-button-loader.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiSizeBigger, TuiSizeL, TuiSizeS, TuiSizeXS} from '@taiga-ui/core';\n\n@Component({\n selector:\n 'a[tuiButton][loading],button[tuiButton][loading],a[tuiIconButton][loading],button[tuiIconButton][loading]',\n templateUrl: './button-loader.template.html',\n styleUrls: ['./button-loader.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[disabled]': 'disabled || loading',\n '[class._loading]': 'loading',\n },\n})\nexport class TuiButtonLoaderComponent {\n @Input()\n size: TuiSizeL | TuiSizeXS = 'l';\n\n @Input()\n loading = false;\n\n @Input()\n disabled = false;\n\n get loaderSize(): TuiSizeS {\n return tuiSizeBigger(this.size) ? 'm' : 's';\n }\n}\n","<ng-content></ng-content>\n<tui-loader\n *ngIf=\"loading\"\n class=\"t-loader\"\n [inheritColor]=\"true\"\n [size]=\"loaderSize\"\n></tui-loader>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiLoaderModule} from '@taiga-ui/core';\n\nimport {TuiButtonLoaderComponent} from './button-loader.component';\n\n@NgModule({\n imports: [CommonModule, TuiLoaderModule],\n declarations: [TuiButtonLoaderComponent],\n exports: [TuiButtonLoaderComponent],\n})\nexport class TuiButtonLoaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["tuiSizeBigger","i0","i1","i2","Component","ChangeDetectionStrategy","ViewEncapsulation","Input","CommonModule","TuiLoaderModule","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,QAAA,wBAAA,kBAAA,YAAA;IAZA,IAAA,SAAA,wBAAA,GAAA;IAcI,QAAA,IAAI,CAAA,IAAA,GAAyB,GAAG,CAAC;IAGjC,QAAA,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC;IAGhB,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;SAKpB;IAHG,IAAA,MAAA,CAAA,cAAA,CAAI,wBAAU,CAAA,SAAA,EAAA,YAAA,EAAA;IAAd,QAAA,GAAA,EAAA,YAAA;IACI,YAAA,OAAOA,gBAAa,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC;aAC/C;;;IAAA,KAAA,CAAA,CAAA;;;gJAZQ,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAC,aAAA,CAAA,eAA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A,IAAA,SAAA,qBAAA,GAAA;;;;6IAAa,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAN,aAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;IAArB,qBAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,qBAAqB,iBAHf,wBAAwB,CAAA,EAAA,OAAA,EAAA,CAD7BO,eAAY,EAAEC,kBAAe,aAE7B,wBAAwB,CAAA,EAAA,CAAA,CAAA;IAEzB,qBAAA,CAAA,IAAA,GAAAR,aAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,qBAAqB,EAJrB,OAAA,EAAA,CAAA,CAACO,eAAY,EAAEC,kBAAe,CAAC,CAAA,EAAA,CAAA,CAAA;sHAI/B,qBAAqB,EAAA,UAAA,EAAA,CAAA;sBALjCC,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;IACN,oBAAA,OAAO,EAAE,CAACF,eAAY,EAAEC,kBAAe,CAAC;wBACxC,YAAY,EAAE,CAAC,wBAAwB,CAAC;wBACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;qBACtC,CAAA;;;ICVD;;IAEG;;;;;;;;;;;"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { TuiSizeL, TuiSizeS, TuiSizeXS } from '@taiga-ui/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TuiButtonLoaderComponent {
|
|
4
|
-
size: TuiSizeL | TuiSizeXS;
|
|
5
|
-
loading: boolean;
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
get loaderSize(): TuiSizeS;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonLoaderComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiButtonLoaderComponent, "a[tuiButton][loading],button[tuiButton][loading],a[tuiIconButton][loading],button[tuiIconButton][loading]", never, { "size": "size"; "loading": "loading"; "disabled": "disabled"; }, {}, never, ["*"]>;
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./button-loader.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@taiga-ui/core";
|
|
5
|
-
export declare class TuiButtonLoaderModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonLoaderModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiButtonLoaderModule, [typeof i1.TuiButtonLoaderComponent], [typeof i2.CommonModule, typeof i3.TuiLoaderModule], [typeof i1.TuiButtonLoaderComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiButtonLoaderModule>;
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"main": "../../bundles/taiga-ui-experimental-components-button-loader.umd.js",
|
|
3
|
-
"module": "../../fesm2015/taiga-ui-experimental-components-button-loader.js",
|
|
4
|
-
"es2015": "../../fesm2015/taiga-ui-experimental-components-button-loader.js",
|
|
5
|
-
"esm2015": "../../esm2015/components/button-loader/taiga-ui-experimental-components-button-loader.js",
|
|
6
|
-
"fesm2015": "../../fesm2015/taiga-ui-experimental-components-button-loader.js",
|
|
7
|
-
"typings": "taiga-ui-experimental-components-button-loader.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@taiga-ui/experimental/components/button-loader"
|
|
10
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import { tuiSizeBigger } from '@taiga-ui/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@taiga-ui/core";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
export class TuiButtonLoaderComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.size = 'l';
|
|
9
|
-
this.loading = false;
|
|
10
|
-
this.disabled = false;
|
|
11
|
-
}
|
|
12
|
-
get loaderSize() {
|
|
13
|
-
return tuiSizeBigger(this.size) ? 'm' : 's';
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
TuiButtonLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
-
TuiButtonLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiButtonLoaderComponent, selector: "a[tuiButton][loading],button[tuiButton][loading],a[tuiIconButton][loading],button[tuiIconButton][loading]", inputs: { size: "size", loading: "loading", disabled: "disabled" }, host: { properties: { "disabled": "disabled || loading", "class._loading": "loading" } }, ngImport: i0, template: "<ng-content></ng-content>\n<tui-loader\n *ngIf=\"loading\"\n class=\"t-loader\"\n [inheritColor]=\"true\"\n [size]=\"loaderSize\"\n></tui-loader>\n", styles: ["[tuiButtonNew]._loading{--tui-disabled-opacity: 1;-webkit-text-fill-color:transparent}[tuiButtonNew]._loading>*{opacity:0}[tuiButtonNew]._loading .t-loader{position:absolute;top:0;left:0;width:100%;height:100%;opacity:1}\n"], components: [{ type: i1.TuiLoaderComponent, selector: "tui-loader", inputs: ["size", "inheritColor", "overlay", "textContent", "showLoader"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonLoaderComponent, decorators: [{
|
|
19
|
-
type: Component,
|
|
20
|
-
args: [{
|
|
21
|
-
selector: 'a[tuiButton][loading],button[tuiButton][loading],a[tuiIconButton][loading],button[tuiIconButton][loading]',
|
|
22
|
-
templateUrl: './button-loader.template.html',
|
|
23
|
-
styleUrls: ['./button-loader.style.less'],
|
|
24
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
25
|
-
encapsulation: ViewEncapsulation.None,
|
|
26
|
-
host: {
|
|
27
|
-
'[disabled]': 'disabled || loading',
|
|
28
|
-
'[class._loading]': 'loading',
|
|
29
|
-
},
|
|
30
|
-
}]
|
|
31
|
-
}], propDecorators: { size: [{
|
|
32
|
-
type: Input
|
|
33
|
-
}], loading: [{
|
|
34
|
-
type: Input
|
|
35
|
-
}], disabled: [{
|
|
36
|
-
type: Input
|
|
37
|
-
}] } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWxvYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvY29tcG9uZW50cy9idXR0b24tbG9hZGVyL2J1dHRvbi1sb2FkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvYnV0dG9uLWxvYWRlci9idXR0b24tbG9hZGVyLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNILHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsS0FBSyxFQUNMLGlCQUFpQixHQUNwQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMsYUFBYSxFQUFnQyxNQUFNLGdCQUFnQixDQUFDOzs7O0FBY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2FkZXJcIlxuICAgIFtpbmhlcml0Q29sb3JdPVwidHJ1ZVwiXG4gICAgW3NpemVdPVwibG9hZGVyU2l6ZVwiXG4+PC90dWktbG9hZGVyPlxuIl19
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { TuiLoaderModule } from '@taiga-ui/core';
|
|
4
|
-
import { TuiButtonLoaderComponent } from './button-loader.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class TuiButtonLoaderModule {
|
|
7
|
-
}
|
|
8
|
-
TuiButtonLoaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonLoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
TuiButtonLoaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonLoaderModule, declarations: [TuiButtonLoaderComponent], imports: [CommonModule, TuiLoaderModule], exports: [TuiButtonLoaderComponent] });
|
|
10
|
-
TuiButtonLoaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonLoaderModule, imports: [[CommonModule, TuiLoaderModule]] });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonLoaderModule, decorators: [{
|
|
12
|
-
type: NgModule,
|
|
13
|
-
args: [{
|
|
14
|
-
imports: [CommonModule, TuiLoaderModule],
|
|
15
|
-
declarations: [TuiButtonLoaderComponent],
|
|
16
|
-
exports: [TuiButtonLoaderComponent],
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWxvYWRlci5tb2R1bGUuanMiLC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fSBmcm9tICcuL2J1dHRvbi1sb2FkZXIuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBUdWlMb2FkZXJNb2R1bGVdLFxuICAgIGRlY2xhcmF0aW9uczogW1R1aUJ1dHRvbkxvYWRlckNvbXBvbmVudF0sXG4gICAgZXhwb3J0czogW1R1aUJ1dHRvbkxvYWRlckNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUJ1dHRvbkxvYWRlck1vZHVsZSB7fVxuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './button-loader.component';
|
|
2
|
-
export * from './button-loader.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvY29tcG9uZW50cy9idXR0b24tbG9hZGVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYnV0dG9uLWxvYWRlci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9idXR0b24tbG9hZGVyLm1vZHVsZSc7XG4iXX0=
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktZXhwZXJpbWVudGFsLWNvbXBvbmVudHMtYnV0dG9uLWxvYWRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL2J1dHRvbi1sb2FkZXIvdGFpZ2EtdWktZXhwZXJpbWVudGFsLWNvbXBvbmVudHMtYnV0dG9uLWxvYWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@taiga-ui/core';
|
|
4
|
-
import { tuiSizeBigger, TuiLoaderModule } from '@taiga-ui/core';
|
|
5
|
-
import * as i2 from '@angular/common';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
|
|
8
|
-
class TuiButtonLoaderComponent {
|
|
9
|
-
constructor() {
|
|
10
|
-
this.size = 'l';
|
|
11
|
-
this.loading = false;
|
|
12
|
-
this.disabled = false;
|
|
13
|
-
}
|
|
14
|
-
get loaderSize() {
|
|
15
|
-
return tuiSizeBigger(this.size) ? 'm' : 's';
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
TuiButtonLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
-
TuiButtonLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiButtonLoaderComponent, selector: "a[tuiButton][loading],button[tuiButton][loading],a[tuiIconButton][loading],button[tuiIconButton][loading]", inputs: { size: "size", loading: "loading", disabled: "disabled" }, host: { properties: { "disabled": "disabled || loading", "class._loading": "loading" } }, ngImport: i0, template: "<ng-content></ng-content>\n<tui-loader\n *ngIf=\"loading\"\n class=\"t-loader\"\n [inheritColor]=\"true\"\n [size]=\"loaderSize\"\n></tui-loader>\n", styles: ["[tuiButtonNew]._loading{--tui-disabled-opacity: 1;-webkit-text-fill-color:transparent}[tuiButtonNew]._loading>*{opacity:0}[tuiButtonNew]._loading .t-loader{position:absolute;top:0;left:0;width:100%;height:100%;opacity:1}\n"], components: [{ type: i1.TuiLoaderComponent, selector: "tui-loader", inputs: ["size", "inheritColor", "overlay", "textContent", "showLoader"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonLoaderComponent, decorators: [{
|
|
21
|
-
type: Component,
|
|
22
|
-
args: [{
|
|
23
|
-
selector: 'a[tuiButton][loading],button[tuiButton][loading],a[tuiIconButton][loading],button[tuiIconButton][loading]',
|
|
24
|
-
templateUrl: './button-loader.template.html',
|
|
25
|
-
styleUrls: ['./button-loader.style.less'],
|
|
26
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
27
|
-
encapsulation: ViewEncapsulation.None,
|
|
28
|
-
host: {
|
|
29
|
-
'[disabled]': 'disabled || loading',
|
|
30
|
-
'[class._loading]': 'loading',
|
|
31
|
-
},
|
|
32
|
-
}]
|
|
33
|
-
}], propDecorators: { size: [{
|
|
34
|
-
type: Input
|
|
35
|
-
}], loading: [{
|
|
36
|
-
type: Input
|
|
37
|
-
}], disabled: [{
|
|
38
|
-
type: Input
|
|
39
|
-
}] } });
|
|
40
|
-
|
|
41
|
-
class TuiButtonLoaderModule {
|
|
42
|
-
}
|
|
43
|
-
TuiButtonLoaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonLoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
44
|
-
TuiButtonLoaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonLoaderModule, declarations: [TuiButtonLoaderComponent], imports: [CommonModule, TuiLoaderModule], exports: [TuiButtonLoaderComponent] });
|
|
45
|
-
TuiButtonLoaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonLoaderModule, imports: [[CommonModule, TuiLoaderModule]] });
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonLoaderModule, decorators: [{
|
|
47
|
-
type: NgModule,
|
|
48
|
-
args: [{
|
|
49
|
-
imports: [CommonModule, TuiLoaderModule],
|
|
50
|
-
declarations: [TuiButtonLoaderComponent],
|
|
51
|
-
exports: [TuiButtonLoaderComponent],
|
|
52
|
-
}]
|
|
53
|
-
}] });
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Generated bundle index. Do not edit.
|
|
57
|
-
*/
|
|
58
|
-
|
|
59
|
-
export { TuiButtonLoaderComponent, TuiButtonLoaderModule };
|
|
60
|
-
//# sourceMappingURL=taiga-ui-experimental-components-button-loader.js.map
|