@taiga-ui/experimental 3.41.1-canary.7d60853

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.
Files changed (107) hide show
  1. package/LICENSE +190 -0
  2. package/README.md +34 -0
  3. package/bundles/taiga-ui-experimental-components-avatar-stack.umd.js +78 -0
  4. package/bundles/taiga-ui-experimental-components-avatar-stack.umd.js.map +1 -0
  5. package/bundles/taiga-ui-experimental-components-avatar.umd.js +136 -0
  6. package/bundles/taiga-ui-experimental-components-avatar.umd.js.map +1 -0
  7. package/bundles/taiga-ui-experimental-components-text.umd.js +123 -0
  8. package/bundles/taiga-ui-experimental-components-text.umd.js.map +1 -0
  9. package/bundles/taiga-ui-experimental-components.umd.js +33 -0
  10. package/bundles/taiga-ui-experimental-components.umd.js.map +1 -0
  11. package/bundles/taiga-ui-experimental-pipes-auto-color.umd.js +70 -0
  12. package/bundles/taiga-ui-experimental-pipes-auto-color.umd.js.map +1 -0
  13. package/bundles/taiga-ui-experimental-pipes-fallback-src.umd.js +76 -0
  14. package/bundles/taiga-ui-experimental-pipes-fallback-src.umd.js.map +1 -0
  15. package/bundles/taiga-ui-experimental-pipes-initials.umd.js +396 -0
  16. package/bundles/taiga-ui-experimental-pipes-initials.umd.js.map +1 -0
  17. package/bundles/taiga-ui-experimental-pipes.umd.js +33 -0
  18. package/bundles/taiga-ui-experimental-pipes.umd.js.map +1 -0
  19. package/bundles/taiga-ui-experimental.umd.js +27 -0
  20. package/bundles/taiga-ui-experimental.umd.js.map +1 -0
  21. package/components/avatar/avatar.component.d.ts +12 -0
  22. package/components/avatar/avatar.module.d.ts +12 -0
  23. package/components/avatar/index.d.ts +2 -0
  24. package/components/avatar/package.json +10 -0
  25. package/components/avatar/taiga-ui-experimental-components-avatar.d.ts +5 -0
  26. package/components/avatar-stack/avatar-stack.component.d.ts +7 -0
  27. package/components/avatar-stack/avatar-stack.module.d.ts +8 -0
  28. package/components/avatar-stack/index.d.ts +2 -0
  29. package/components/avatar-stack/package.json +10 -0
  30. package/components/avatar-stack/taiga-ui-experimental-components-avatar-stack.d.ts +5 -0
  31. package/components/index.d.ts +3 -0
  32. package/components/package.json +10 -0
  33. package/components/taiga-ui-experimental-components.d.ts +5 -0
  34. package/components/text/index.d.ts +2 -0
  35. package/components/text/package.json +10 -0
  36. package/components/text/taiga-ui-experimental-components-text.d.ts +5 -0
  37. package/components/text/text.component.d.ts +10 -0
  38. package/components/text/text.module.d.ts +7 -0
  39. package/esm2015/components/avatar/avatar.component.js +55 -0
  40. package/esm2015/components/avatar/avatar.module.js +38 -0
  41. package/esm2015/components/avatar/index.js +3 -0
  42. package/esm2015/components/avatar/taiga-ui-experimental-components-avatar.js +5 -0
  43. package/esm2015/components/avatar-stack/avatar-stack.component.js +25 -0
  44. package/esm2015/components/avatar-stack/avatar-stack.module.js +18 -0
  45. package/esm2015/components/avatar-stack/index.js +3 -0
  46. package/esm2015/components/avatar-stack/taiga-ui-experimental-components-avatar-stack.js +5 -0
  47. package/esm2015/components/index.js +4 -0
  48. package/esm2015/components/taiga-ui-experimental-components.js +5 -0
  49. package/esm2015/components/text/index.js +3 -0
  50. package/esm2015/components/text/taiga-ui-experimental-components-text.js +5 -0
  51. package/esm2015/components/text/text.component.js +73 -0
  52. package/esm2015/components/text/text.module.js +16 -0
  53. package/esm2015/index.js +3 -0
  54. package/esm2015/pipes/auto-color/auto-color.module.js +16 -0
  55. package/esm2015/pipes/auto-color/auto-color.pipe.js +17 -0
  56. package/esm2015/pipes/auto-color/index.js +3 -0
  57. package/esm2015/pipes/auto-color/taiga-ui-experimental-pipes-auto-color.js +5 -0
  58. package/esm2015/pipes/fallback-src/fallback-src.module.js +16 -0
  59. package/esm2015/pipes/fallback-src/fallback-src.pipe.js +25 -0
  60. package/esm2015/pipes/fallback-src/index.js +3 -0
  61. package/esm2015/pipes/fallback-src/taiga-ui-experimental-pipes-fallback-src.js +5 -0
  62. package/esm2015/pipes/index.js +4 -0
  63. package/esm2015/pipes/initials/index.js +3 -0
  64. package/esm2015/pipes/initials/initials.module.js +16 -0
  65. package/esm2015/pipes/initials/initials.pipe.js +21 -0
  66. package/esm2015/pipes/initials/taiga-ui-experimental-pipes-initials.js +5 -0
  67. package/esm2015/pipes/taiga-ui-experimental-pipes.js +5 -0
  68. package/esm2015/taiga-ui-experimental.js +5 -0
  69. package/fesm2015/taiga-ui-experimental-components-avatar-stack.js +47 -0
  70. package/fesm2015/taiga-ui-experimental-components-avatar-stack.js.map +1 -0
  71. package/fesm2015/taiga-ui-experimental-components-avatar.js +97 -0
  72. package/fesm2015/taiga-ui-experimental-components-avatar.js.map +1 -0
  73. package/fesm2015/taiga-ui-experimental-components-text.js +93 -0
  74. package/fesm2015/taiga-ui-experimental-components-text.js.map +1 -0
  75. package/fesm2015/taiga-ui-experimental-components.js +8 -0
  76. package/fesm2015/taiga-ui-experimental-components.js.map +1 -0
  77. package/fesm2015/taiga-ui-experimental-pipes-auto-color.js +37 -0
  78. package/fesm2015/taiga-ui-experimental-pipes-auto-color.js.map +1 -0
  79. package/fesm2015/taiga-ui-experimental-pipes-fallback-src.js +45 -0
  80. package/fesm2015/taiga-ui-experimental-pipes-fallback-src.js.map +1 -0
  81. package/fesm2015/taiga-ui-experimental-pipes-initials.js +41 -0
  82. package/fesm2015/taiga-ui-experimental-pipes-initials.js.map +1 -0
  83. package/fesm2015/taiga-ui-experimental-pipes.js +8 -0
  84. package/fesm2015/taiga-ui-experimental-pipes.js.map +1 -0
  85. package/fesm2015/taiga-ui-experimental.js +7 -0
  86. package/fesm2015/taiga-ui-experimental.js.map +1 -0
  87. package/index.d.ts +2 -0
  88. package/package.json +32 -0
  89. package/pipes/auto-color/auto-color.module.d.ts +7 -0
  90. package/pipes/auto-color/auto-color.pipe.d.ts +7 -0
  91. package/pipes/auto-color/index.d.ts +2 -0
  92. package/pipes/auto-color/package.json +10 -0
  93. package/pipes/auto-color/taiga-ui-experimental-pipes-auto-color.d.ts +5 -0
  94. package/pipes/fallback-src/fallback-src.module.d.ts +7 -0
  95. package/pipes/fallback-src/fallback-src.pipe.d.ts +10 -0
  96. package/pipes/fallback-src/index.d.ts +2 -0
  97. package/pipes/fallback-src/package.json +10 -0
  98. package/pipes/fallback-src/taiga-ui-experimental-pipes-fallback-src.d.ts +5 -0
  99. package/pipes/index.d.ts +3 -0
  100. package/pipes/initials/index.d.ts +2 -0
  101. package/pipes/initials/initials.module.d.ts +7 -0
  102. package/pipes/initials/initials.pipe.d.ts +7 -0
  103. package/pipes/initials/package.json +10 -0
  104. package/pipes/initials/taiga-ui-experimental-pipes-initials.d.ts +5 -0
  105. package/pipes/package.json +10 -0
  106. package/pipes/taiga-ui-experimental-pipes.d.ts +5 -0
  107. package/taiga-ui-experimental.d.ts +5 -0
@@ -0,0 +1,37 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe, NgModule } from '@angular/core';
3
+ import { tuiStringHashToHsl } from '@taiga-ui/kit';
4
+
5
+ class TuiAutoColorPipe {
6
+ transform(text) {
7
+ return tuiStringHashToHsl(text);
8
+ }
9
+ }
10
+ TuiAutoColorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAutoColorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
11
+ TuiAutoColorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAutoColorPipe, name: "tuiAutoColor" });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAutoColorPipe, decorators: [{
13
+ type: Pipe,
14
+ args: [{
15
+ name: `tuiAutoColor`,
16
+ }]
17
+ }] });
18
+
19
+ class TuiAutoColorModule {
20
+ }
21
+ TuiAutoColorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAutoColorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
22
+ TuiAutoColorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAutoColorModule, declarations: [TuiAutoColorPipe], exports: [TuiAutoColorPipe] });
23
+ TuiAutoColorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAutoColorModule });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAutoColorModule, decorators: [{
25
+ type: NgModule,
26
+ args: [{
27
+ declarations: [TuiAutoColorPipe],
28
+ exports: [TuiAutoColorPipe],
29
+ }]
30
+ }] });
31
+
32
+ /**
33
+ * Generated bundle index. Do not edit.
34
+ */
35
+
36
+ export { TuiAutoColorModule, TuiAutoColorPipe };
37
+ //# sourceMappingURL=taiga-ui-experimental-pipes-auto-color.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-experimental-pipes-auto-color.js","sources":["../../../projects/experimental/pipes/auto-color/auto-color.pipe.ts","../../../projects/experimental/pipes/auto-color/auto-color.module.ts","../../../projects/experimental/pipes/auto-color/taiga-ui-experimental-pipes-auto-color.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {tuiStringHashToHsl} from '@taiga-ui/kit';\n\n@Pipe({\n name: `tuiAutoColor`,\n})\nexport class TuiAutoColorPipe implements PipeTransform {\n transform(text: string): string {\n return tuiStringHashToHsl(text);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiAutoColorPipe} from './auto-color.pipe';\n\n@NgModule({\n declarations: [TuiAutoColorPipe],\n exports: [TuiAutoColorPipe],\n})\nexport class TuiAutoColorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,gBAAgB,CAAA;AACzB,IAAA,SAAS,CAAC,IAAY,EAAA;AAClB,QAAA,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;KACnC;;8GAHQ,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;4GAAhB,gBAAgB,EAAA,IAAA,EAAA,cAAA,EAAA,CAAA,CAAA;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,CAAc,YAAA,CAAA;AACvB,iBAAA,CAAA;;;MCGY,kBAAkB,CAAA;;gHAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;iHAAlB,kBAAkB,EAAA,YAAA,EAAA,CAHZ,gBAAgB,CAAA,EAAA,OAAA,EAAA,CACrB,gBAAgB,CAAA,EAAA,CAAA,CAAA;iHAEjB,kBAAkB,EAAA,CAAA,CAAA;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;oBAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC9B,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
@@ -0,0 +1,45 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ElementRef, Pipe, Inject, NgModule } from '@angular/core';
3
+ import { TUI_ICON_ERROR } from '@taiga-ui/core';
4
+ import { merge, fromEvent } from 'rxjs';
5
+ import { map, startWith } from 'rxjs/operators';
6
+
7
+ class TuiFallbackSrcPipe {
8
+ constructor(el) {
9
+ this.el = el;
10
+ }
11
+ transform(src, fallback) {
12
+ return merge(fromEvent(this.el.nativeElement, TUI_ICON_ERROR), fromEvent(this.el.nativeElement, `error`, { capture: true })).pipe(map(() => fallback), startWith(src));
13
+ }
14
+ }
15
+ TuiFallbackSrcPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFallbackSrcPipe, deps: [{ token: ElementRef }], target: i0.ɵɵFactoryTarget.Pipe });
16
+ TuiFallbackSrcPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFallbackSrcPipe, name: "tuiFallbackSrc" });
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFallbackSrcPipe, decorators: [{
18
+ type: Pipe,
19
+ args: [{
20
+ name: `tuiFallbackSrc`,
21
+ }]
22
+ }], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
23
+ type: Inject,
24
+ args: [ElementRef]
25
+ }] }]; } });
26
+
27
+ class TuiFallbackSrcModule {
28
+ }
29
+ TuiFallbackSrcModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFallbackSrcModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
30
+ TuiFallbackSrcModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFallbackSrcModule, declarations: [TuiFallbackSrcPipe], exports: [TuiFallbackSrcPipe] });
31
+ TuiFallbackSrcModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFallbackSrcModule });
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFallbackSrcModule, decorators: [{
33
+ type: NgModule,
34
+ args: [{
35
+ declarations: [TuiFallbackSrcPipe],
36
+ exports: [TuiFallbackSrcPipe],
37
+ }]
38
+ }] });
39
+
40
+ /**
41
+ * Generated bundle index. Do not edit.
42
+ */
43
+
44
+ export { TuiFallbackSrcModule, TuiFallbackSrcPipe };
45
+ //# sourceMappingURL=taiga-ui-experimental-pipes-fallback-src.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-experimental-pipes-fallback-src.js","sources":["../../../projects/experimental/pipes/fallback-src/fallback-src.pipe.ts","../../../projects/experimental/pipes/fallback-src/fallback-src.module.ts","../../../projects/experimental/pipes/fallback-src/taiga-ui-experimental-pipes-fallback-src.ts"],"sourcesContent":["import {ElementRef, Inject, Pipe, PipeTransform} from '@angular/core';\nimport {TUI_ICON_ERROR} from '@taiga-ui/core';\nimport {fromEvent, merge, Observable} from 'rxjs';\nimport {map, startWith} from 'rxjs/operators';\n\n@Pipe({\n name: `tuiFallbackSrc`,\n})\nexport class TuiFallbackSrcPipe implements PipeTransform {\n constructor(@Inject(ElementRef) private readonly el: ElementRef<HTMLElement>) {}\n\n transform(src: string, fallback: string): Observable<string> {\n return merge(\n fromEvent(this.el.nativeElement, TUI_ICON_ERROR),\n fromEvent(this.el.nativeElement, `error`, {capture: true}),\n ).pipe(\n map(() => fallback),\n startWith(src),\n );\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFallbackSrcPipe} from './fallback-src.pipe';\n\n@NgModule({\n declarations: [TuiFallbackSrcPipe],\n exports: [TuiFallbackSrcPipe],\n})\nexport class TuiFallbackSrcModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAQa,kBAAkB,CAAA;AAC3B,IAAA,WAAA,CAAiD,EAA2B,EAAA;QAA3B,IAAE,CAAA,EAAA,GAAF,EAAE,CAAyB;KAAI;IAEhF,SAAS,CAAC,GAAW,EAAE,QAAgB,EAAA;QACnC,OAAO,KAAK,CACR,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,cAAc,CAAC,EAChD,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,CAAO,KAAA,CAAA,EAAE,EAAC,OAAO,EAAE,IAAI,EAAC,CAAC,CAC7D,CAAC,IAAI,CACF,GAAG,CAAC,MAAM,QAAQ,CAAC,EACnB,SAAS,CAAC,GAAG,CAAC,CACjB,CAAC;KACL;;AAXQ,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,kBACP,UAAU,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;8GADrB,kBAAkB,EAAA,IAAA,EAAA,gBAAA,EAAA,CAAA,CAAA;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,CAAgB,cAAA,CAAA;AACzB,iBAAA,CAAA;;0BAEgB,MAAM;2BAAC,UAAU,CAAA;;;MCDrB,oBAAoB,CAAA;;kHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;mHAApB,oBAAoB,EAAA,YAAA,EAAA,CAHd,kBAAkB,CAAA,EAAA,OAAA,EAAA,CACvB,kBAAkB,CAAA,EAAA,CAAA,CAAA;mHAEnB,oBAAoB,EAAA,CAAA,CAAA;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;oBAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAChC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
@@ -0,0 +1,41 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe, NgModule } from '@angular/core';
3
+
4
+ class TuiInitialsPipe {
5
+ transform(text) {
6
+ return text
7
+ .toUpperCase()
8
+ .split(` `)
9
+ .map(([char]) => char)
10
+ .join(``)
11
+ .slice(0, 2);
12
+ }
13
+ }
14
+ TuiInitialsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInitialsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
15
+ TuiInitialsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInitialsPipe, name: "tuiInitials" });
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInitialsPipe, decorators: [{
17
+ type: Pipe,
18
+ args: [{
19
+ name: `tuiInitials`,
20
+ }]
21
+ }] });
22
+
23
+ class TuiInitialsModule {
24
+ }
25
+ TuiInitialsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInitialsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
26
+ TuiInitialsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInitialsModule, declarations: [TuiInitialsPipe], exports: [TuiInitialsPipe] });
27
+ TuiInitialsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInitialsModule });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInitialsModule, decorators: [{
29
+ type: NgModule,
30
+ args: [{
31
+ declarations: [TuiInitialsPipe],
32
+ exports: [TuiInitialsPipe],
33
+ }]
34
+ }] });
35
+
36
+ /**
37
+ * Generated bundle index. Do not edit.
38
+ */
39
+
40
+ export { TuiInitialsModule, TuiInitialsPipe };
41
+ //# sourceMappingURL=taiga-ui-experimental-pipes-initials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-experimental-pipes-initials.js","sources":["../../../projects/experimental/pipes/initials/initials.pipe.ts","../../../projects/experimental/pipes/initials/initials.module.ts","../../../projects/experimental/pipes/initials/taiga-ui-experimental-pipes-initials.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\n\n@Pipe({\n name: `tuiInitials`,\n})\nexport class TuiInitialsPipe implements PipeTransform {\n transform(text: string): string {\n return text\n .toUpperCase()\n .split(` `)\n .map(([char]) => char)\n .join(``)\n .slice(0, 2);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiInitialsPipe} from './initials.pipe';\n\n@NgModule({\n declarations: [TuiInitialsPipe],\n exports: [TuiInitialsPipe],\n})\nexport class TuiInitialsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAKa,eAAe,CAAA;AACxB,IAAA,SAAS,CAAC,IAAY,EAAA;AAClB,QAAA,OAAO,IAAI;AACN,aAAA,WAAW,EAAE;aACb,KAAK,CAAC,GAAG,CAAC;aACV,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;aACrB,IAAI,CAAC,EAAE,CAAC;AACR,aAAA,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KACpB;;6GARQ,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;2GAAf,eAAe,EAAA,IAAA,EAAA,aAAA,EAAA,CAAA,CAAA;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAH3B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,CAAa,WAAA,CAAA;AACtB,iBAAA,CAAA;;;MCIY,iBAAiB,CAAA;;+GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAjB,iBAAiB,EAAA,YAAA,EAAA,CAHX,eAAe,CAAA,EAAA,OAAA,EAAA,CACpB,eAAe,CAAA,EAAA,CAAA,CAAA;gHAEhB,iBAAiB,EAAA,CAAA,CAAA;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,eAAe,CAAC;oBAC/B,OAAO,EAAE,CAAC,eAAe,CAAC;AAC7B,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
@@ -0,0 +1,8 @@
1
+ export * from '@taiga-ui/experimental/pipes/auto-color';
2
+ export * from '@taiga-ui/experimental/pipes/fallback-src';
3
+ export * from '@taiga-ui/experimental/pipes/initials';
4
+
5
+ /**
6
+ * Generated bundle index. Do not edit.
7
+ */
8
+ //# sourceMappingURL=taiga-ui-experimental-pipes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-experimental-pipes.js","sources":["../../../projects/experimental/pipes/taiga-ui-experimental-pipes.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;;AAEG"}
@@ -0,0 +1,7 @@
1
+ export * from '@taiga-ui/experimental/components';
2
+ export * from '@taiga-ui/experimental/pipes';
3
+
4
+ /**
5
+ * Generated bundle index. Do not edit.
6
+ */
7
+ //# sourceMappingURL=taiga-ui-experimental.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-experimental.js","sources":["../../../projects/experimental/taiga-ui-experimental.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;AAEG"}
package/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@taiga-ui/experimental/components';
2
+ export * from '@taiga-ui/experimental/pipes';
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@taiga-ui/experimental",
3
+ "version": "3.41.1-canary.7d60853",
4
+ "description": "A package with Taiga UI experimental components",
5
+ "keywords": [
6
+ "angular",
7
+ "component",
8
+ "layout"
9
+ ],
10
+ "homepage": "https://github.com/taiga-family/taiga-ui",
11
+ "repository": "https://github.com/taiga-family/taiga-ui",
12
+ "license": "Apache-2.0",
13
+ "peerDependencies": {
14
+ "@angular/common": ">=12.0.0",
15
+ "@angular/core": ">=12.0.0",
16
+ "@taiga-ui/cdk": ">=3.40.0",
17
+ "@taiga-ui/core": ">=3.40.0",
18
+ "@taiga-ui/kit": ">=3.40.0",
19
+ "@tinkoff/ng-polymorpheus": ">=4.0.0",
20
+ "rxjs": ">=6.0.0"
21
+ },
22
+ "main": "bundles/taiga-ui-experimental.umd.js",
23
+ "module": "fesm2015/taiga-ui-experimental.js",
24
+ "es2015": "fesm2015/taiga-ui-experimental.js",
25
+ "esm2015": "esm2015/taiga-ui-experimental.js",
26
+ "fesm2015": "fesm2015/taiga-ui-experimental.js",
27
+ "typings": "taiga-ui-experimental.d.ts",
28
+ "sideEffects": false,
29
+ "dependencies": {
30
+ "tslib": ">=2.0.0"
31
+ }
32
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./auto-color.pipe";
3
+ export declare class TuiAutoColorModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiAutoColorModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiAutoColorModule, [typeof i1.TuiAutoColorPipe], never, [typeof i1.TuiAutoColorPipe]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<TuiAutoColorModule>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TuiAutoColorPipe implements PipeTransform {
4
+ transform(text: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiAutoColorPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiAutoColorPipe, "tuiAutoColor">;
7
+ }
@@ -0,0 +1,2 @@
1
+ export * from './auto-color.module';
2
+ export * from './auto-color.pipe';
@@ -0,0 +1,10 @@
1
+ {
2
+ "main": "../../bundles/taiga-ui-experimental-pipes-auto-color.umd.js",
3
+ "module": "../../fesm2015/taiga-ui-experimental-pipes-auto-color.js",
4
+ "es2015": "../../fesm2015/taiga-ui-experimental-pipes-auto-color.js",
5
+ "esm2015": "../../esm2015/pipes/auto-color/taiga-ui-experimental-pipes-auto-color.js",
6
+ "fesm2015": "../../fesm2015/taiga-ui-experimental-pipes-auto-color.js",
7
+ "typings": "taiga-ui-experimental-pipes-auto-color.d.ts",
8
+ "sideEffects": false,
9
+ "name": "@taiga-ui/experimental/pipes/auto-color"
10
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@taiga-ui/experimental/pipes/auto-color" />
5
+ export * from './index';
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./fallback-src.pipe";
3
+ export declare class TuiFallbackSrcModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiFallbackSrcModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiFallbackSrcModule, [typeof i1.TuiFallbackSrcPipe], never, [typeof i1.TuiFallbackSrcPipe]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<TuiFallbackSrcModule>;
7
+ }
@@ -0,0 +1,10 @@
1
+ import { ElementRef, PipeTransform } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TuiFallbackSrcPipe implements PipeTransform {
5
+ private readonly el;
6
+ constructor(el: ElementRef<HTMLElement>);
7
+ transform(src: string, fallback: string): Observable<string>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiFallbackSrcPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiFallbackSrcPipe, "tuiFallbackSrc">;
10
+ }
@@ -0,0 +1,2 @@
1
+ export * from './fallback-src.module';
2
+ export * from './fallback-src.pipe';
@@ -0,0 +1,10 @@
1
+ {
2
+ "main": "../../bundles/taiga-ui-experimental-pipes-fallback-src.umd.js",
3
+ "module": "../../fesm2015/taiga-ui-experimental-pipes-fallback-src.js",
4
+ "es2015": "../../fesm2015/taiga-ui-experimental-pipes-fallback-src.js",
5
+ "esm2015": "../../esm2015/pipes/fallback-src/taiga-ui-experimental-pipes-fallback-src.js",
6
+ "fesm2015": "../../fesm2015/taiga-ui-experimental-pipes-fallback-src.js",
7
+ "typings": "taiga-ui-experimental-pipes-fallback-src.d.ts",
8
+ "sideEffects": false,
9
+ "name": "@taiga-ui/experimental/pipes/fallback-src"
10
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@taiga-ui/experimental/pipes/fallback-src" />
5
+ export * from './index';
@@ -0,0 +1,3 @@
1
+ export * from '@taiga-ui/experimental/pipes/auto-color';
2
+ export * from '@taiga-ui/experimental/pipes/fallback-src';
3
+ export * from '@taiga-ui/experimental/pipes/initials';
@@ -0,0 +1,2 @@
1
+ export * from './initials.module';
2
+ export * from './initials.pipe';
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./initials.pipe";
3
+ export declare class TuiInitialsModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiInitialsModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInitialsModule, [typeof i1.TuiInitialsPipe], never, [typeof i1.TuiInitialsPipe]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<TuiInitialsModule>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TuiInitialsPipe implements PipeTransform {
4
+ transform(text: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiInitialsPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiInitialsPipe, "tuiInitials">;
7
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "main": "../../bundles/taiga-ui-experimental-pipes-initials.umd.js",
3
+ "module": "../../fesm2015/taiga-ui-experimental-pipes-initials.js",
4
+ "es2015": "../../fesm2015/taiga-ui-experimental-pipes-initials.js",
5
+ "esm2015": "../../esm2015/pipes/initials/taiga-ui-experimental-pipes-initials.js",
6
+ "fesm2015": "../../fesm2015/taiga-ui-experimental-pipes-initials.js",
7
+ "typings": "taiga-ui-experimental-pipes-initials.d.ts",
8
+ "sideEffects": false,
9
+ "name": "@taiga-ui/experimental/pipes/initials"
10
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@taiga-ui/experimental/pipes/initials" />
5
+ export * from './index';
@@ -0,0 +1,10 @@
1
+ {
2
+ "main": "../bundles/taiga-ui-experimental-pipes.umd.js",
3
+ "module": "../fesm2015/taiga-ui-experimental-pipes.js",
4
+ "es2015": "../fesm2015/taiga-ui-experimental-pipes.js",
5
+ "esm2015": "../esm2015/pipes/taiga-ui-experimental-pipes.js",
6
+ "fesm2015": "../fesm2015/taiga-ui-experimental-pipes.js",
7
+ "typings": "taiga-ui-experimental-pipes.d.ts",
8
+ "sideEffects": false,
9
+ "name": "@taiga-ui/experimental/pipes"
10
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@taiga-ui/experimental/pipes" />
5
+ export * from './index';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@taiga-ui/experimental" />
5
+ export * from './index';