@taiga-ui/experimental 3.60.0 → 3.61.0-canary.2abddb0
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.umd.js +2 -2
- package/bundles/taiga-ui-experimental-components-badge.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-button.umd.js +2 -2
- package/bundles/taiga-ui-experimental-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-checkbox.umd.js +3 -3
- package/bundles/taiga-ui-experimental-components-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-chip.umd.js +2 -2
- package/bundles/taiga-ui-experimental-components-chip.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-rating.umd.js +489 -635
- package/bundles/taiga-ui-experimental-components-rating.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-toggle.umd.js +2 -2
- package/bundles/taiga-ui-experimental-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-tooltip.umd.js +478 -624
- package/bundles/taiga-ui-experimental-components-tooltip.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives-button-close.umd.js +1 -1
- package/bundles/taiga-ui-experimental-directives-button-close.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-pipes-amount.umd.js +8 -8
- package/bundles/taiga-ui-experimental-pipes-amount.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-pipes-auto-color.umd.js +1 -1
- package/bundles/taiga-ui-experimental-pipes-auto-color.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-pipes-fallback-src.umd.js +2 -2
- package/bundles/taiga-ui-experimental-pipes-fallback-src.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-pipes-initials.umd.js +379 -525
- package/bundles/taiga-ui-experimental-pipes-initials.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-tokens.umd.js +3 -3
- package/bundles/taiga-ui-experimental-tokens.umd.js.map +1 -1
- package/esm2015/components/avatar/avatar.options.js +2 -2
- package/esm2015/components/badge/badge.options.js +3 -3
- package/esm2015/components/button/button.options.js +3 -3
- package/esm2015/components/checkbox/checkbox.options.js +4 -4
- package/esm2015/components/chip/chip.options.js +3 -3
- package/esm2015/components/rating/rating.options.js +2 -2
- package/esm2015/components/toggle/toggle.options.js +3 -3
- package/esm2015/components/tooltip/tooltip.options.js +2 -2
- package/esm2015/directives/button-close/button-close.options.js +2 -2
- package/esm2015/pipes/amount/amount.options.js +3 -3
- package/esm2015/pipes/amount/amount.pipe.js +7 -7
- package/esm2015/pipes/auto-color/auto-color.pipe.js +2 -2
- package/esm2015/pipes/fallback-src/fallback-src.pipe.js +3 -3
- package/esm2015/pipes/initials/initials.pipe.js +4 -4
- package/esm2015/tokens/icon-resolver.js +4 -4
- 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.js +2 -2
- package/fesm2015/taiga-ui-experimental-components-badge.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-button.js +2 -2
- package/fesm2015/taiga-ui-experimental-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-checkbox.js +3 -3
- package/fesm2015/taiga-ui-experimental-components-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-chip.js +2 -2
- package/fesm2015/taiga-ui-experimental-components-chip.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-rating.js +1 -1
- package/fesm2015/taiga-ui-experimental-components-rating.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-toggle.js +2 -2
- package/fesm2015/taiga-ui-experimental-components-toggle.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-tooltip.js +1 -1
- package/fesm2015/taiga-ui-experimental-components-tooltip.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives-button-close.js +1 -1
- package/fesm2015/taiga-ui-experimental-directives-button-close.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-pipes-amount.js +8 -8
- package/fesm2015/taiga-ui-experimental-pipes-amount.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-pipes-auto-color.js +1 -1
- package/fesm2015/taiga-ui-experimental-pipes-auto-color.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-pipes-fallback-src.js +2 -2
- package/fesm2015/taiga-ui-experimental-pipes-fallback-src.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-pipes-initials.js +3 -3
- package/fesm2015/taiga-ui-experimental-pipes-initials.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-tokens.js +3 -3
- package/fesm2015/taiga-ui-experimental-tokens.js.map +1 -1
- package/package.json +31 -31
|
@@ -1 +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:
|
|
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,OAAO,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,gBAAgB;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;;;;"}
|
|
@@ -5,9 +5,9 @@ class TuiInitialsPipe {
|
|
|
5
5
|
transform(text) {
|
|
6
6
|
return text
|
|
7
7
|
.toUpperCase()
|
|
8
|
-
.split(
|
|
8
|
+
.split(' ')
|
|
9
9
|
.map(([char]) => char)
|
|
10
|
-
.join(
|
|
10
|
+
.join('')
|
|
11
11
|
.slice(0, 2);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -16,7 +16,7 @@ TuiInitialsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
|
16
16
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInitialsPipe, decorators: [{
|
|
17
17
|
type: Pipe,
|
|
18
18
|
args: [{
|
|
19
|
-
name:
|
|
19
|
+
name: 'tuiInitials',
|
|
20
20
|
}]
|
|
21
21
|
}] });
|
|
22
22
|
|
|
@@ -1 +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:
|
|
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,aAAa;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;;;;"}
|
|
@@ -2,11 +2,11 @@ import { tuiCreateTokenFromFactory } from '@taiga-ui/cdk';
|
|
|
2
2
|
|
|
3
3
|
const TUI_ICON_RESOLVER = tuiCreateTokenFromFactory(
|
|
4
4
|
// TODO: Remove backwards compatibility in 4.0
|
|
5
|
-
() => icon => !icon || icon.includes(
|
|
5
|
+
() => icon => !icon || icon.includes('/')
|
|
6
6
|
? icon
|
|
7
|
-
: `/assets/taiga-ui/icons/${icon.includes(
|
|
7
|
+
: `/assets/taiga-ui/icons/${icon.includes('Outline')
|
|
8
8
|
? icon
|
|
9
|
-
: icon.replace(
|
|
9
|
+
: icon.replace('Large', '').concat('Outline')}.svg`);
|
|
10
10
|
function tuiIconResolverProvider(useValue) {
|
|
11
11
|
return {
|
|
12
12
|
provide: TUI_ICON_RESOLVER,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-tokens.js","sources":["../../../projects/experimental/tokens/icon-resolver.ts","../../../projects/experimental/tokens/taiga-ui-experimental-tokens.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {tuiCreateTokenFromFactory, TuiStringHandler} from '@taiga-ui/cdk';\n\nexport const TUI_ICON_RESOLVER = tuiCreateTokenFromFactory<TuiStringHandler<string>>(\n // TODO: Remove backwards compatibility in 4.0\n () => icon =>\n !icon || icon.includes(
|
|
1
|
+
{"version":3,"file":"taiga-ui-experimental-tokens.js","sources":["../../../projects/experimental/tokens/icon-resolver.ts","../../../projects/experimental/tokens/taiga-ui-experimental-tokens.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {tuiCreateTokenFromFactory, TuiStringHandler} from '@taiga-ui/cdk';\n\nexport const TUI_ICON_RESOLVER = tuiCreateTokenFromFactory<TuiStringHandler<string>>(\n // TODO: Remove backwards compatibility in 4.0\n () => icon =>\n !icon || icon.includes('/')\n ? icon\n : `/assets/taiga-ui/icons/${\n icon.includes('Outline')\n ? icon\n : icon.replace('Large', '').concat('Outline')\n }.svg`,\n);\n\nexport function tuiIconResolverProvider(useValue: TuiStringHandler<string>): Provider {\n return {\n provide: TUI_ICON_RESOLVER,\n useValue,\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAGO,MAAM,iBAAiB,GAAG,yBAAyB;AACtD;AACA,MAAM,IAAI,IACN,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC;AACvB,MAAE,IAAI;AACN,MAAE,CACI,uBAAA,EAAA,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC;AACpB,UAAE,IAAI;AACN,UAAE,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,CACpD,CAAA,IAAA,CAAM,EAClB;AAEI,SAAU,uBAAuB,CAAC,QAAkC,EAAA;IACtE,OAAO;AACH,QAAA,OAAO,EAAE,iBAAiB;QAC1B,QAAQ;KACX,CAAC;AACN;;ACpBA;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
2
|
+
"name": "@taiga-ui/experimental",
|
|
3
|
+
"version": "3.61.0-canary.2abddb0",
|
|
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/addon-commerce": ">=3.61.0-canary.2abddb0",
|
|
17
|
+
"@taiga-ui/cdk": ">=3.61.0-canary.2abddb0",
|
|
18
|
+
"@taiga-ui/core": ">=3.61.0-canary.2abddb0",
|
|
19
|
+
"@taiga-ui/kit": ">=3.61.0-canary.2abddb0",
|
|
20
|
+
"@tinkoff/ng-polymorpheus": "4.3.0",
|
|
21
|
+
"rxjs": ">=6.0.0"
|
|
22
|
+
},
|
|
23
|
+
"main": "bundles/taiga-ui-experimental.umd.js",
|
|
24
|
+
"module": "fesm2015/taiga-ui-experimental.js",
|
|
25
|
+
"es2015": "fesm2015/taiga-ui-experimental.js",
|
|
26
|
+
"esm2015": "esm2015/taiga-ui-experimental.js",
|
|
27
|
+
"fesm2015": "fesm2015/taiga-ui-experimental.js",
|
|
28
|
+
"typings": "taiga-ui-experimental.d.ts",
|
|
29
|
+
"sideEffects": false,
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"tslib": "2.6.2"
|
|
32
|
+
}
|
|
33
33
|
}
|