@taiga-ui/experimental 3.51.0 → 3.52.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-stack.umd.js +5 -1
- package/bundles/taiga-ui-experimental-components-avatar-stack.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-avatar.umd.js +4 -0
- package/bundles/taiga-ui-experimental-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-badge-notification.umd.js +4 -0
- package/bundles/taiga-ui-experimental-components-badge-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-badge.umd.js +5 -1
- package/bundles/taiga-ui-experimental-components-badge.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-badged-content.umd.js +4 -0
- package/bundles/taiga-ui-experimental-components-badged-content.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-button.umd.js +4 -0
- package/bundles/taiga-ui-experimental-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-checkbox.umd.js +4 -0
- package/bundles/taiga-ui-experimental-components-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-compass.umd.js +4 -0
- package/bundles/taiga-ui-experimental-components-compass.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-radio.umd.js +4 -0
- package/bundles/taiga-ui-experimental-components-radio.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-rating.umd.js +4 -0
- package/bundles/taiga-ui-experimental-components-rating.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-thumbnail-card.umd.js +4 -0
- package/bundles/taiga-ui-experimental-components-thumbnail-card.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-toggle.umd.js +4 -0
- package/bundles/taiga-ui-experimental-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components.umd.js +4 -0
- package/bundles/taiga-ui-experimental-components.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives-cell.umd.js +113 -0
- package/bundles/taiga-ui-experimental-directives-cell.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental-directives-fade.umd.js +5 -0
- package/bundles/taiga-ui-experimental-directives-fade.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives-sensitive.umd.js +5 -1
- package/bundles/taiga-ui-experimental-directives-sensitive.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives-surface.umd.js +4 -0
- package/bundles/taiga-ui-experimental-directives-surface.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives-title.umd.js +106 -0
- package/bundles/taiga-ui-experimental-directives-title.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental-directives.umd.js +20 -4
- package/bundles/taiga-ui-experimental-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-pipes-amount.umd.js +113 -0
- package/bundles/taiga-ui-experimental-pipes-amount.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental-pipes-auto-color.umd.js +4 -0
- package/bundles/taiga-ui-experimental-pipes-auto-color.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-pipes-fallback-src.umd.js +4 -0
- package/bundles/taiga-ui-experimental-pipes-fallback-src.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-pipes-initials.umd.js +4 -0
- package/bundles/taiga-ui-experimental-pipes-initials.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-pipes.umd.js +14 -4
- package/bundles/taiga-ui-experimental-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental.umd.js +4 -0
- package/bundles/taiga-ui-experimental.umd.js.map +1 -1
- package/components/avatar/taiga-ui-experimental-components-avatar.d.ts +3 -0
- package/components/avatar-stack/taiga-ui-experimental-components-avatar-stack.d.ts +3 -0
- package/components/badge/taiga-ui-experimental-components-badge.d.ts +3 -0
- package/components/badge-notification/taiga-ui-experimental-components-badge-notification.d.ts +3 -0
- package/components/badged-content/taiga-ui-experimental-components-badged-content.d.ts +3 -0
- package/components/button/taiga-ui-experimental-components-button.d.ts +3 -0
- package/components/checkbox/taiga-ui-experimental-components-checkbox.d.ts +3 -0
- package/components/compass/taiga-ui-experimental-components-compass.d.ts +3 -0
- package/components/radio/taiga-ui-experimental-components-radio.d.ts +3 -0
- package/components/rating/taiga-ui-experimental-components-rating.d.ts +3 -0
- package/components/taiga-ui-experimental-components.d.ts +3 -0
- package/components/thumbnail-card/taiga-ui-experimental-components-thumbnail-card.d.ts +3 -0
- package/components/toggle/taiga-ui-experimental-components-toggle.d.ts +3 -0
- package/directives/cell/cell.component.d.ts +5 -0
- package/directives/cell/cell.directive.d.ts +10 -0
- package/directives/cell/cell.module.d.ts +8 -0
- package/directives/cell/index.d.ts +3 -0
- package/directives/cell/package.json +10 -0
- package/directives/cell/taiga-ui-experimental-directives-cell.d.ts +5 -0
- package/directives/fade/taiga-ui-experimental-directives-fade.d.ts +3 -0
- package/directives/index.d.ts +2 -0
- package/directives/sensitive/taiga-ui-experimental-directives-sensitive.d.ts +3 -0
- package/directives/surface/taiga-ui-experimental-directives-surface.d.ts +3 -0
- package/directives/taiga-ui-experimental-directives.d.ts +3 -0
- package/directives/title/index.d.ts +3 -0
- package/directives/title/package.json +10 -0
- package/directives/title/taiga-ui-experimental-directives-title.d.ts +5 -0
- package/directives/title/title.component.d.ts +5 -0
- package/directives/title/title.directive.d.ts +10 -0
- package/directives/title/title.module.d.ts +8 -0
- package/esm2015/components/avatar/taiga-ui-experimental-components-avatar.js +4 -1
- package/esm2015/components/avatar-stack/avatar-stack.component.js +1 -1
- package/esm2015/components/avatar-stack/taiga-ui-experimental-components-avatar-stack.js +4 -1
- package/esm2015/components/badge/badge.component.js +1 -1
- package/esm2015/components/badge/taiga-ui-experimental-components-badge.js +4 -1
- package/esm2015/components/badge-notification/taiga-ui-experimental-components-badge-notification.js +4 -1
- package/esm2015/components/badged-content/taiga-ui-experimental-components-badged-content.js +4 -1
- package/esm2015/components/button/taiga-ui-experimental-components-button.js +4 -1
- package/esm2015/components/checkbox/taiga-ui-experimental-components-checkbox.js +4 -1
- package/esm2015/components/compass/taiga-ui-experimental-components-compass.js +4 -1
- package/esm2015/components/radio/taiga-ui-experimental-components-radio.js +4 -1
- package/esm2015/components/rating/taiga-ui-experimental-components-rating.js +4 -1
- package/esm2015/components/taiga-ui-experimental-components.js +4 -1
- package/esm2015/components/thumbnail-card/taiga-ui-experimental-components-thumbnail-card.js +4 -1
- package/esm2015/components/toggle/taiga-ui-experimental-components-toggle.js +4 -1
- package/esm2015/directives/cell/cell.component.js +17 -0
- package/esm2015/directives/cell/cell.directive.js +43 -0
- package/esm2015/directives/cell/cell.module.js +17 -0
- package/esm2015/directives/cell/index.js +4 -0
- package/esm2015/directives/cell/taiga-ui-experimental-directives-cell.js +5 -0
- package/esm2015/directives/fade/fade.directive.js +2 -1
- package/esm2015/directives/fade/taiga-ui-experimental-directives-fade.js +4 -1
- package/esm2015/directives/index.js +3 -1
- package/esm2015/directives/sensitive/sensitive.component.js +1 -1
- package/esm2015/directives/sensitive/taiga-ui-experimental-directives-sensitive.js +4 -1
- package/esm2015/directives/surface/taiga-ui-experimental-directives-surface.js +4 -1
- package/esm2015/directives/taiga-ui-experimental-directives.js +4 -1
- package/esm2015/directives/title/index.js +4 -0
- package/esm2015/directives/title/taiga-ui-experimental-directives-title.js +5 -0
- package/esm2015/directives/title/title.component.js +17 -0
- package/esm2015/directives/title/title.directive.js +35 -0
- package/esm2015/directives/title/title.module.js +17 -0
- package/esm2015/pipes/amount/amount.module.js +16 -0
- package/esm2015/pipes/amount/amount.options.js +11 -0
- package/esm2015/pipes/amount/amount.pipe.js +48 -0
- package/esm2015/pipes/amount/index.js +4 -0
- package/esm2015/pipes/amount/taiga-ui-experimental-pipes-amount.js +5 -0
- package/esm2015/pipes/auto-color/taiga-ui-experimental-pipes-auto-color.js +4 -1
- package/esm2015/pipes/fallback-src/taiga-ui-experimental-pipes-fallback-src.js +4 -1
- package/esm2015/pipes/index.js +2 -1
- package/esm2015/pipes/initials/taiga-ui-experimental-pipes-initials.js +4 -1
- package/esm2015/pipes/taiga-ui-experimental-pipes.js +4 -1
- package/esm2015/taiga-ui-experimental.js +4 -1
- package/fesm2015/taiga-ui-experimental-components-avatar-stack.js +5 -1
- package/fesm2015/taiga-ui-experimental-components-avatar-stack.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-avatar.js +4 -0
- package/fesm2015/taiga-ui-experimental-components-avatar.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-badge-notification.js +4 -0
- package/fesm2015/taiga-ui-experimental-components-badge-notification.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-badge.js +5 -1
- package/fesm2015/taiga-ui-experimental-components-badge.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-badged-content.js +4 -0
- package/fesm2015/taiga-ui-experimental-components-badged-content.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-button.js +4 -0
- package/fesm2015/taiga-ui-experimental-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-checkbox.js +4 -0
- package/fesm2015/taiga-ui-experimental-components-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-compass.js +4 -0
- package/fesm2015/taiga-ui-experimental-components-compass.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-radio.js +4 -0
- package/fesm2015/taiga-ui-experimental-components-radio.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-rating.js +4 -0
- package/fesm2015/taiga-ui-experimental-components-rating.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-thumbnail-card.js +4 -0
- package/fesm2015/taiga-ui-experimental-components-thumbnail-card.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-toggle.js +4 -0
- package/fesm2015/taiga-ui-experimental-components-toggle.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components.js +4 -0
- package/fesm2015/taiga-ui-experimental-components.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives-cell.js +77 -0
- package/fesm2015/taiga-ui-experimental-directives-cell.js.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-fade.js +5 -0
- package/fesm2015/taiga-ui-experimental-directives-fade.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives-sensitive.js +5 -1
- package/fesm2015/taiga-ui-experimental-directives-sensitive.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives-surface.js +4 -0
- package/fesm2015/taiga-ui-experimental-directives-surface.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives-title.js +69 -0
- package/fesm2015/taiga-ui-experimental-directives-title.js.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives.js +6 -0
- package/fesm2015/taiga-ui-experimental-directives.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-pipes-amount.js +77 -0
- package/fesm2015/taiga-ui-experimental-pipes-amount.js.map +1 -0
- package/fesm2015/taiga-ui-experimental-pipes-auto-color.js +4 -0
- package/fesm2015/taiga-ui-experimental-pipes-auto-color.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-pipes-fallback-src.js +4 -0
- package/fesm2015/taiga-ui-experimental-pipes-fallback-src.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-pipes-initials.js +4 -0
- package/fesm2015/taiga-ui-experimental-pipes-initials.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-pipes.js +5 -0
- package/fesm2015/taiga-ui-experimental-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-experimental.js +4 -0
- package/fesm2015/taiga-ui-experimental.js.map +1 -1
- package/package.json +5 -5
- package/pipes/amount/amount.module.d.ts +7 -0
- package/pipes/amount/amount.options.d.ts +11 -0
- package/pipes/amount/amount.pipe.d.ts +14 -0
- package/pipes/amount/index.d.ts +3 -0
- package/pipes/amount/package.json +10 -0
- package/pipes/amount/taiga-ui-experimental-pipes-amount.d.ts +5 -0
- package/pipes/auto-color/taiga-ui-experimental-pipes-auto-color.d.ts +3 -0
- package/pipes/fallback-src/taiga-ui-experimental-pipes-fallback-src.d.ts +3 -0
- package/pipes/index.d.ts +1 -0
- package/pipes/initials/taiga-ui-experimental-pipes-initials.d.ts +3 -0
- package/pipes/taiga-ui-experimental-pipes.d.ts +3 -0
- package/taiga-ui-experimental.d.ts +3 -0
|
@@ -6,7 +6,7 @@ import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
|
6
6
|
class TuiSensitiveComponent {
|
|
7
7
|
}
|
|
8
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", host: { classAttribute: "tui-sensitive-styles" }, 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-
|
|
9
|
+
TuiSensitiveComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiSensitiveComponent, selector: "ng-component", host: { classAttribute: "tui-sensitive-styles" }, 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{-webkit-text-fill-color:transparent}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
10
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSensitiveComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
12
|
args: [{
|
|
@@ -58,5 +58,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
58
58
|
}]
|
|
59
59
|
}] });
|
|
60
60
|
|
|
61
|
+
/**
|
|
62
|
+
* Generated bundle index. Do not edit.
|
|
63
|
+
*/
|
|
64
|
+
|
|
61
65
|
export { TuiSensitiveComponent, TuiSensitiveDirective, TuiSensitiveModule };
|
|
62
66
|
//# sourceMappingURL=taiga-ui-experimental-directives-sensitive.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-directives-sensitive.js","sources":["../../../projects/experimental/directives/sensitive/sensitive.component.ts","../../../projects/experimental/directives/sensitive/sensitive.directive.ts","../../../projects/experimental/directives/sensitive/sensitive.module.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n host: {\n class: 'tui-sensitive-styles',\n },\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"],"names":[],"mappings":";;;;;MAWa,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,sGAJpB,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"taiga-ui-experimental-directives-sensitive.js","sources":["../../../projects/experimental/directives/sensitive/sensitive.component.ts","../../../projects/experimental/directives/sensitive/sensitive.directive.ts","../../../projects/experimental/directives/sensitive/sensitive.module.ts","../../../projects/experimental/directives/sensitive/taiga-ui-experimental-directives-sensitive.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n host: {\n class: 'tui-sensitive-styles',\n },\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":";;;;;MAWa,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,sGAJpB,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,inJAAA,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;kBATjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,IAAI,EAAE;AACF,wBAAA,KAAK,EAAE,sBAAsB;AAChC,qBAAA;oBACD,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;;;MCEY,qBAAqB,CAAA;AAM9B,IAAA,WAA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qB,CAAA,EAAA,OAAA,EAAA,CAC1B,qBAAqB,CAAA,EAAA,CAAA,CAAA;iHAEtB,kBAAkB,EAAA,CAAA,CAAA;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,qBAAqB,CAAC;oBACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;AACnC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -56,5 +56,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
56
56
|
}]
|
|
57
57
|
}] });
|
|
58
58
|
|
|
59
|
+
/**
|
|
60
|
+
* Generated bundle index. Do not edit.
|
|
61
|
+
*/
|
|
62
|
+
|
|
59
63
|
export { TuiSurfaceComponent, TuiSurfaceDirective, TuiSurfaceModule };
|
|
60
64
|
//# sourceMappingURL=taiga-ui-experimental-directives-surface.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-directives-surface.js","sources":["../../../projects/experimental/directives/surface/surface.component.ts","../../../projects/experimental/directives/surface/surface.directive.ts","../../../projects/experimental/directives/surface/surface.module.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n host: {\n class: 'tui-surface-styles',\n },\n template: '',\n styleUrls: ['./surface.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class TuiSurfaceComponent {}\n","import {Directive, HostBinding, Inject, Input} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\n\nimport {TuiSurfaceComponent} from './surface.component';\n\n@Directive({\n selector: '[tuiSurface]',\n})\nexport class TuiSurfaceDirective {\n @Input()\n @HostBinding('attr.data-surface')\n tuiSurface = '';\n\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiSurfaceComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiSurfaceComponent} from './surface.component';\nimport {TuiSurfaceDirective} from './surface.directive';\n\n@NgModule({\n declarations: [TuiSurfaceComponent, TuiSurfaceDirective],\n exports: [TuiSurfaceDirective],\n})\nexport class TuiSurfaceModule {}\n"],"names":[],"mappings":";;;;;MAWa,mBAAmB,CAAA;;iHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,oGALlB,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,m0HAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;4FAKH,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAT/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,IAAI,EAAE;AACF,wBAAA,KAAK,EAAE,oBAAoB;AAC9B,qBAAA;AACD,oBAAA,QAAQ,EAAE,EAAE;oBACZ,SAAS,EAAE,CAAC,sBAAsB,CAAC;oBACnC,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,aAAa,EAAE,iBAAiB,CAAC,IAAI;AACxC,iBAAA,CAAA;;;MCFY,mBAAmB,CAAA;AAK5B,IAAA,WAAA,CACuC,eAA0C,EAAA;QAHjF,IAAU,CAAA,UAAA,GAAG,EAAE,CAAC;AAKZ,QAAA,eAAe,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAAC;KACrD;;AATQ,mBAAA,CAAA,IAAA,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AAC;oBACxD,OAAO,EAAE,CAAC,mBAAmB,CAAC;AACjC,iBAAA,CAAA
|
|
1
|
+
{"version":3,"file":"taiga-ui-experimental-directives-surface.js","sources":["../../../projects/experimental/directives/surface/surface.component.ts","../../../projects/experimental/directives/surface/surface.directive.ts","../../../projects/experimental/directives/surface/surface.module.ts","../../../projects/experimental/directives/surface/taiga-ui-experimental-directives-surface.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n host: {\n class: 'tui-surface-styles',\n },\n template: '',\n styleUrls: ['./surface.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class TuiSurfaceComponent {}\n","import {Directive, HostBinding, Inject, Input} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\n\nimport {TuiSurfaceComponent} from './surface.component';\n\n@Directive({\n selector: '[tuiSurface]',\n})\nexport class TuiSurfaceDirective {\n @Input()\n @HostBinding('attr.data-surface')\n tuiSurface = '';\n\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiSurfaceComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiSurfaceComponent} from './surface.component';\nimport {TuiSurfaceDirective} from './surface.directive';\n\n@NgModule({\n declarations: [TuiSurfaceComponent, TuiSurfaceDirective],\n exports: [TuiSurfaceDirective],\n})\nexport class TuiSurfaceModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAWa,mBAAmB,CAAA;;iHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,E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AAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,cAAc;AAC3B,iBAAA,CAAA;;0BAOQ,MAAM;2BAAC,yBAAyB,CAAA;4CAHrC,UAAU,EAAA,CAAA;sBAFT,KAAK;;sBACL,WAAW;uBAAC,mBAAmB,CAAA;;;MCDvB,gBAAgB,CAAA;;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EAHV,YAAA,EAAA,CAAA,mBAAmB,EAAE,mBAAmB,aAC7C,mBAAmB,CAAA,EAAA,CAAA,CAAA;+GAEpB,gBAAgB,EAAA,CAAA,CAAA;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;oBACxD,OAAO,EAAE,CAAC,mBAAmB,CAAC;AACjC,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 { TUI_PLATFORM, TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
5
|
+
|
|
6
|
+
class TuiTitleComponent {
|
|
7
|
+
}
|
|
8
|
+
TuiTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
TuiTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiTitleComponent, selector: "ng-component", host: { classAttribute: "tui-title" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiTitle]{position:relative;display:flex;flex-direction:column;text-align:left;grid-gap:.25rem;gap:.25rem;margin:0;font:var(--tui-font-text-m-2)}[tuiTitle][data-size=s]{grid-gap:.125rem;gap:.125rem;font:var(--tui-font-text-s)}[tuiTitle][data-size=s] [tuiSubtitle]{font:var(--tui-font-text-xs)}[tuiTitle][data-size=m]{grid-gap:.125rem;gap:.125rem;font:var(--tui-font-heading-5)}[tuiTitle][data-size=m] [tuiSubtitle]{font:var(--tui-font-text-m)}[tuiTitle][data-size=l]{grid-gap:.5rem;gap:.5rem;font:var(--tui-font-heading-3)}[tuiTitle][data-size=l] [tuiSubtitle]{font:var(--tui-font-text-m)}[tuiTitle][data-platform=ios],[tuiTitle][data-platform=android]{grid-gap:.25rem;gap:.25rem}[tuiTitle][data-platform=ios] [tuiSubtitle],[tuiTitle][data-platform=android] [tuiSubtitle]{color:var(--tui-text-02)}[tuiSubtitle]{font:var(--tui-font-text-s-2)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTitleComponent, decorators: [{
|
|
11
|
+
type: Component,
|
|
12
|
+
args: [{
|
|
13
|
+
host: { class: 'tui-title' },
|
|
14
|
+
template: '',
|
|
15
|
+
styleUrls: ['./title.style.less'],
|
|
16
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
17
|
+
encapsulation: ViewEncapsulation.None,
|
|
18
|
+
}]
|
|
19
|
+
}] });
|
|
20
|
+
|
|
21
|
+
class TuiTitleDirective {
|
|
22
|
+
constructor(platform, directiveStyles) {
|
|
23
|
+
this.platform = platform;
|
|
24
|
+
this.size = '';
|
|
25
|
+
directiveStyles.addComponent(TuiTitleComponent);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
TuiTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTitleDirective, deps: [{ token: TUI_PLATFORM }, { token: TuiDirectiveStylesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
29
|
+
TuiTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTitleDirective, selector: "[tuiTitle]", inputs: { size: ["tuiTitle", "size"] }, host: { attributes: { "tuiTitle": "" }, properties: { "attr.data-size": "size || null", "attr.data-platform": "platform" } }, ngImport: i0 });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTitleDirective, decorators: [{
|
|
31
|
+
type: Directive,
|
|
32
|
+
args: [{
|
|
33
|
+
selector: '[tuiTitle]',
|
|
34
|
+
host: {
|
|
35
|
+
tuiTitle: '',
|
|
36
|
+
'[attr.data-size]': 'size || null',
|
|
37
|
+
'[attr.data-platform]': 'platform',
|
|
38
|
+
},
|
|
39
|
+
}]
|
|
40
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
41
|
+
type: Inject,
|
|
42
|
+
args: [TUI_PLATFORM]
|
|
43
|
+
}] }, { type: i1.TuiDirectiveStylesService, decorators: [{
|
|
44
|
+
type: Inject,
|
|
45
|
+
args: [TuiDirectiveStylesService]
|
|
46
|
+
}] }]; }, propDecorators: { size: [{
|
|
47
|
+
type: Input,
|
|
48
|
+
args: ['tuiTitle']
|
|
49
|
+
}] } });
|
|
50
|
+
|
|
51
|
+
class TuiTitleModule {
|
|
52
|
+
}
|
|
53
|
+
TuiTitleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTitleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
54
|
+
TuiTitleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTitleModule, declarations: [TuiTitleDirective, TuiTitleComponent], exports: [TuiTitleDirective] });
|
|
55
|
+
TuiTitleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTitleModule });
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTitleModule, decorators: [{
|
|
57
|
+
type: NgModule,
|
|
58
|
+
args: [{
|
|
59
|
+
declarations: [TuiTitleDirective, TuiTitleComponent],
|
|
60
|
+
exports: [TuiTitleDirective],
|
|
61
|
+
}]
|
|
62
|
+
}] });
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Generated bundle index. Do not edit.
|
|
66
|
+
*/
|
|
67
|
+
|
|
68
|
+
export { TuiTitleComponent, TuiTitleDirective, TuiTitleModule };
|
|
69
|
+
//# sourceMappingURL=taiga-ui-experimental-directives-title.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taiga-ui-experimental-directives-title.js","sources":["../../../projects/experimental/directives/title/title.component.ts","../../../projects/experimental/directives/title/title.directive.ts","../../../projects/experimental/directives/title/title.module.ts","../../../projects/experimental/directives/title/taiga-ui-experimental-directives-title.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n host: {class: 'tui-title'},\n template: '',\n styleUrls: ['./title.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class TuiTitleComponent {}\n","import {Directive, Inject, Input} from '@angular/core';\nimport {TUI_PLATFORM, TuiDirectiveStylesService, TuiPlatform} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\n\nimport {TuiTitleComponent} from './title.component';\n\n@Directive({\n selector: '[tuiTitle]',\n host: {\n tuiTitle: '',\n '[attr.data-size]': 'size || null',\n '[attr.data-platform]': 'platform',\n },\n})\nexport class TuiTitleDirective {\n @Input('tuiTitle')\n size: TuiSizeL | TuiSizeS | '' = '';\n\n constructor(\n @Inject(TUI_PLATFORM) readonly platform: TuiPlatform,\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiTitleComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiTitleComponent} from './title.component';\nimport {TuiTitleDirective} from './title.directive';\n\n@NgModule({\n declarations: [TuiTitleDirective, TuiTitleComponent],\n exports: [TuiTitleDirective],\n})\nexport class TuiTitleModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MASa,iBAAiB,CAAA;;+GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,iBAAiB,2FALhB,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,80BAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;4FAKH,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAP7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,IAAI,EAAE,EAAC,KAAK,EAAE,WAAW,EAAC;AAC1B,oBAAA,QAAQ,EAAE,EAAE;oBACZ,SAAS,EAAE,CAAC,oBAAoB,CAAC;oBACjC,eAAe,EAAE,uBAAuB,CA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AAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,EAHR,YAAA,EAAA,CAAA,iBAAiB,EAAE,iBAAiB,aACzC,iBAAiB,CAAA,EAAA,CAAA,CAAA;6GAElB,cAAc,EAAA,CAAA,CAAA;4FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;oBACpD,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC/B,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
export * from '@taiga-ui/experimental/directives/cell';
|
|
1
2
|
export * from '@taiga-ui/experimental/directives/fade';
|
|
2
3
|
export * from '@taiga-ui/experimental/directives/sensitive';
|
|
3
4
|
export * from '@taiga-ui/experimental/directives/surface';
|
|
5
|
+
export * from '@taiga-ui/experimental/directives/title';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Generated bundle index. Do not edit.
|
|
9
|
+
*/
|
|
4
10
|
//# sourceMappingURL=taiga-ui-experimental-directives.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-directives.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-experimental-directives.js","sources":["../../../projects/experimental/directives/taiga-ui-experimental-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;;AAEG"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe, Inject, NgModule } from '@angular/core';
|
|
3
|
+
import { tuiFormatSignSymbol, tuiFormatCurrency } from '@taiga-ui/addon-commerce';
|
|
4
|
+
import { tuiCreateToken, tuiProvideOptions, CHAR_NO_BREAK_SPACE } from '@taiga-ui/cdk';
|
|
5
|
+
import { tuiFormatNumber, TUI_NUMBER_FORMAT_OBSERVABLE } from '@taiga-ui/core';
|
|
6
|
+
import { map } from 'rxjs/operators';
|
|
7
|
+
import * as i1 from 'rxjs';
|
|
8
|
+
|
|
9
|
+
const TUI_AMOUNT_DEFAULT_OPTIONS = {
|
|
10
|
+
currency: null,
|
|
11
|
+
currencyAlign: `right`,
|
|
12
|
+
sign: `negative-only`,
|
|
13
|
+
};
|
|
14
|
+
const TUI_AMOUNT_OPTIONS = tuiCreateToken(TUI_AMOUNT_DEFAULT_OPTIONS);
|
|
15
|
+
function tuiAmountOptionsProvider(options) {
|
|
16
|
+
return tuiProvideOptions(TUI_AMOUNT_OPTIONS, options, TUI_AMOUNT_DEFAULT_OPTIONS);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const DEFAULT_DECIMAL_LIMIT = 2;
|
|
20
|
+
class TuiAmountPipePipe {
|
|
21
|
+
constructor(options, format) {
|
|
22
|
+
this.options = options;
|
|
23
|
+
this.format = format;
|
|
24
|
+
}
|
|
25
|
+
transform(value, currency = this.options.currency, currencyAlign = this.options.currencyAlign) {
|
|
26
|
+
return this.format.pipe(map(format => {
|
|
27
|
+
const sign = tuiFormatSignSymbol(value, this.options.sign);
|
|
28
|
+
const currencySymbol = tuiFormatCurrency(currency);
|
|
29
|
+
const formatted = tuiFormatNumber(Math.abs(value), Object.assign(Object.assign({}, format), { decimalLimit: this.getDecimalLimit(value, Number.isNaN(format.decimalLimit)
|
|
30
|
+
? DEFAULT_DECIMAL_LIMIT
|
|
31
|
+
: format.decimalLimit, (format === null || format === void 0 ? void 0 : format.decimal) || `not-zero`) }));
|
|
32
|
+
const space = (currencySymbol === null || currencySymbol === void 0 ? void 0 : currencySymbol.length) > 1 || currencyAlign === `right`
|
|
33
|
+
? CHAR_NO_BREAK_SPACE
|
|
34
|
+
: ``;
|
|
35
|
+
return currencyAlign === `right`
|
|
36
|
+
? `${sign}${formatted}${space}${currencySymbol}`
|
|
37
|
+
: `${sign}${currencySymbol}${space}${formatted}`;
|
|
38
|
+
}));
|
|
39
|
+
}
|
|
40
|
+
getDecimalLimit(value, limit, decimal) {
|
|
41
|
+
return decimal === `always` || (decimal === `not-zero` && value % 1) ? limit : 0;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
TuiAmountPipePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAmountPipePipe, deps: [{ token: TUI_AMOUNT_OPTIONS }, { token: TUI_NUMBER_FORMAT_OBSERVABLE }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
45
|
+
TuiAmountPipePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAmountPipePipe, name: "tuiAmount" });
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAmountPipePipe, decorators: [{
|
|
47
|
+
type: Pipe,
|
|
48
|
+
args: [{
|
|
49
|
+
name: `tuiAmount`,
|
|
50
|
+
}]
|
|
51
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
52
|
+
type: Inject,
|
|
53
|
+
args: [TUI_AMOUNT_OPTIONS]
|
|
54
|
+
}] }, { type: i1.Observable, decorators: [{
|
|
55
|
+
type: Inject,
|
|
56
|
+
args: [TUI_NUMBER_FORMAT_OBSERVABLE]
|
|
57
|
+
}] }]; } });
|
|
58
|
+
|
|
59
|
+
class TuiAmountPipeModule {
|
|
60
|
+
}
|
|
61
|
+
TuiAmountPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAmountPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
62
|
+
TuiAmountPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAmountPipeModule, declarations: [TuiAmountPipePipe], exports: [TuiAmountPipePipe] });
|
|
63
|
+
TuiAmountPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAmountPipeModule });
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAmountPipeModule, decorators: [{
|
|
65
|
+
type: NgModule,
|
|
66
|
+
args: [{
|
|
67
|
+
declarations: [TuiAmountPipePipe],
|
|
68
|
+
exports: [TuiAmountPipePipe],
|
|
69
|
+
}]
|
|
70
|
+
}] });
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Generated bundle index. Do not edit.
|
|
74
|
+
*/
|
|
75
|
+
|
|
76
|
+
export { TUI_AMOUNT_DEFAULT_OPTIONS, TUI_AMOUNT_OPTIONS, TuiAmountPipeModule, TuiAmountPipePipe, tuiAmountOptionsProvider };
|
|
77
|
+
//# sourceMappingURL=taiga-ui-experimental-pipes-amount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taiga-ui-experimental-pipes-amount.js","sources":["../../../projects/experimental/pipes/amount/amount.options.ts","../../../projects/experimental/pipes/amount/amount.pipe.ts","../../../projects/experimental/pipes/amount/amount.module.ts","../../../projects/experimental/pipes/amount/taiga-ui-experimental-pipes-amount.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {TuiCurrencyVariants, TuiMoneySign} from '@taiga-ui/addon-commerce';\nimport {tuiCreateToken, tuiProvideOptions} from '@taiga-ui/cdk';\nimport {TuiHorizontalDirection} from '@taiga-ui/core';\n\nexport interface TuiAmountOptions {\n readonly currency: TuiCurrencyVariants;\n readonly currencyAlign: TuiHorizontalDirection;\n readonly sign: TuiMoneySign;\n}\n\nexport const TUI_AMOUNT_DEFAULT_OPTIONS: TuiAmountOptions = {\n currency: null,\n currencyAlign: `right`,\n sign: `negative-only`,\n};\n\nexport const TUI_AMOUNT_OPTIONS = tuiCreateToken(TUI_AMOUNT_DEFAULT_OPTIONS);\n\nexport function tuiAmountOptionsProvider(options: Partial<TuiAmountOptions>): Provider {\n return tuiProvideOptions(TUI_AMOUNT_OPTIONS, options, TUI_AMOUNT_DEFAULT_OPTIONS);\n}\n","import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {tuiFormatCurrency, tuiFormatSignSymbol} from '@taiga-ui/addon-commerce';\nimport {CHAR_NO_BREAK_SPACE} from '@taiga-ui/cdk';\nimport {\n TUI_NUMBER_FORMAT_OBSERVABLE,\n TuiDecimal,\n tuiFormatNumber,\n TuiNumberFormatSettings,\n} from '@taiga-ui/core';\nimport {Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nimport {TUI_AMOUNT_OPTIONS, TuiAmountOptions} from './amount.options';\n\nconst DEFAULT_DECIMAL_LIMIT = 2;\n\n@Pipe({\n name: `tuiAmount`,\n})\nexport class TuiAmountPipePipe implements PipeTransform {\n constructor(\n @Inject(TUI_AMOUNT_OPTIONS) private readonly options: TuiAmountOptions,\n @Inject(TUI_NUMBER_FORMAT_OBSERVABLE)\n private readonly format: Observable<TuiNumberFormatSettings>,\n ) {}\n\n transform(\n value: number,\n currency = this.options.currency,\n currencyAlign = this.options.currencyAlign,\n ): Observable<string> {\n return this.format.pipe(\n map(format => {\n const sign = tuiFormatSignSymbol(value, this.options.sign);\n const currencySymbol = tuiFormatCurrency(currency);\n const formatted = tuiFormatNumber(Math.abs(value), {\n ...format,\n decimalLimit: this.getDecimalLimit(\n value,\n Number.isNaN(format.decimalLimit)\n ? DEFAULT_DECIMAL_LIMIT\n : format.decimalLimit,\n format?.decimal || `not-zero`,\n ),\n });\n const space =\n currencySymbol?.length > 1 || currencyAlign === `right`\n ? CHAR_NO_BREAK_SPACE\n : ``;\n\n return currencyAlign === `right`\n ? `${sign}${formatted}${space}${currencySymbol}`\n : `${sign}${currencySymbol}${space}${formatted}`;\n }),\n );\n }\n\n private getDecimalLimit(value: number, limit: number, decimal: TuiDecimal): number {\n return decimal === `always` || (decimal === `not-zero` && value % 1) ? limit : 0;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiAmountPipePipe} from './amount.pipe';\n\n@NgModule({\n declarations: [TuiAmountPipePipe],\n exports: [TuiAmountPipePipe],\n})\nexport class TuiAmountPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAWa,MAAA,0BAA0B,GAAqB;AACxD,IAAA,QAAQ,EAAE,IAAI;AACd,IAAA,aAAa,EAAE,CAAO,KAAA,CAAA;AACtB,IAAA,IAAI,EAAE,CAAe,aAAA,CAAA;EACvB;MAEW,kBAAkB,GAAG,cAAc,CAAC,0BAA0B,EAAE;AAEvE,SAAU,wBAAwB,CAAC,OAAkC,EAAA;IACvE,OAAO,iBAAiB,CAAC,kBAAkB,EAAE,OAAO,EAAE,0BAA0B,CAAC,CAAC;AACtF;;ACPA,MAAM,qBAAqB,GAAG,CAAC,CAAC;MAKnB,iBAAiB,CAAA;IAC1B,WACiD,CAAA,OAAyB,EAErD,MAA2C,EAAA;QAFf,IAAO,CAAA,OAAA,GAAP,OAAO,CAAkB;QAErD,IAAM,CAAA,MAAA,GAAN,MAAM,CAAqC;KAC5D;AAEJ,IAAA,SAAS,CACL,KAAa,EACb,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,EAChC,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,EAAA;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CACnB,GAAG,CAAC,MAAM,IAAG;AACT,YAAA,MAAM,IAAI,GAAG,mBAAmB,CAAC,K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Q,iBAAiB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAEd,kBAAkB,EAAA,EAAA,EAAA,KAAA,EAClB,4BAA4B,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAH/B,iBAAiB,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,CAAA;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAH7B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,CAAW,SAAA,CAAA;AACpB,iBAAA,CAAA;;0BAGQ,MAAM;2BAAC,kBAAkB,CAAA;;0BACzB,MAAM;2BAAC,4BAA4B,CAAA;;;MCd/B,mBAAmB,CAAA;;iHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;kHAAnB,mBAAmB,EAAA,YAAA,EAAA,CAHb,iBAAiB,CAAA,EAAA,OAAA,EAAA,CACtB,iBAAiB,CAAA,EAAA,CAAA,CAAA;kHAElB,mBAAmB,EAAA,CAAA,CAAA;4FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC/B,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -29,5 +29,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
29
29
|
}]
|
|
30
30
|
}] });
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Generated bundle index. Do not edit.
|
|
34
|
+
*/
|
|
35
|
+
|
|
32
36
|
export { TuiAutoColorModule, TuiAutoColorPipe };
|
|
33
37
|
//# sourceMappingURL=taiga-ui-experimental-pipes-auto-color.js.map
|
|
@@ -1 +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"],"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"],"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
|
|
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;;;;"}
|
|
@@ -37,5 +37,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
37
37
|
}]
|
|
38
38
|
}] });
|
|
39
39
|
|
|
40
|
+
/**
|
|
41
|
+
* Generated bundle index. Do not edit.
|
|
42
|
+
*/
|
|
43
|
+
|
|
40
44
|
export { TuiFallbackSrcModule, TuiFallbackSrcPipe };
|
|
41
45
|
//# sourceMappingURL=taiga-ui-experimental-pipes-fallback-src.js.map
|
|
@@ -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"],"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"],"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
|
|
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;AAC3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AA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;oBAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAChC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -33,5 +33,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
33
33
|
}]
|
|
34
34
|
}] });
|
|
35
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Generated bundle index. Do not edit.
|
|
38
|
+
*/
|
|
39
|
+
|
|
36
40
|
export { TuiInitialsModule, TuiInitialsPipe };
|
|
37
41
|
//# sourceMappingURL=taiga-ui-experimental-pipes-initials.js.map
|
|
@@ -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"],"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"],"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
|
|
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;;;;"}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
export * from '@taiga-ui/experimental/pipes/amount';
|
|
1
2
|
export * from '@taiga-ui/experimental/pipes/auto-color';
|
|
2
3
|
export * from '@taiga-ui/experimental/pipes/fallback-src';
|
|
3
4
|
export * from '@taiga-ui/experimental/pipes/initials';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Generated bundle index. Do not edit.
|
|
8
|
+
*/
|
|
4
9
|
//# sourceMappingURL=taiga-ui-experimental-pipes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-pipes.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/experimental",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.52.0",
|
|
4
4
|
"description": "A package with Taiga UI experimental components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"peerDependencies": {
|
|
14
14
|
"@angular/common": ">=12.0.0",
|
|
15
15
|
"@angular/core": ">=12.0.0",
|
|
16
|
-
"@taiga-ui/addon-commerce": ">=3.
|
|
17
|
-
"@taiga-ui/cdk": ">=3.
|
|
18
|
-
"@taiga-ui/core": ">=3.
|
|
19
|
-
"@taiga-ui/kit": ">=3.
|
|
16
|
+
"@taiga-ui/addon-commerce": ">=3.52.0",
|
|
17
|
+
"@taiga-ui/cdk": ">=3.52.0",
|
|
18
|
+
"@taiga-ui/core": ">=3.52.0",
|
|
19
|
+
"@taiga-ui/kit": ">=3.52.0",
|
|
20
20
|
"@tinkoff/ng-polymorpheus": ">=4.0.0",
|
|
21
21
|
"rxjs": ">=6.0.0"
|
|
22
22
|
},
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./amount.pipe";
|
|
3
|
+
export declare class TuiAmountPipeModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAmountPipeModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiAmountPipeModule, [typeof i1.TuiAmountPipePipe], never, [typeof i1.TuiAmountPipePipe]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiAmountPipeModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
|
+
import { TuiCurrencyVariants, TuiMoneySign } from '@taiga-ui/addon-commerce';
|
|
3
|
+
import { TuiHorizontalDirection } from '@taiga-ui/core';
|
|
4
|
+
export interface TuiAmountOptions {
|
|
5
|
+
readonly currency: TuiCurrencyVariants;
|
|
6
|
+
readonly currencyAlign: TuiHorizontalDirection;
|
|
7
|
+
readonly sign: TuiMoneySign;
|
|
8
|
+
}
|
|
9
|
+
export declare const TUI_AMOUNT_DEFAULT_OPTIONS: TuiAmountOptions;
|
|
10
|
+
export declare const TUI_AMOUNT_OPTIONS: import("@angular/core").InjectionToken<TuiAmountOptions>;
|
|
11
|
+
export declare function tuiAmountOptionsProvider(options: Partial<TuiAmountOptions>): Provider;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { TuiNumberFormatSettings } from '@taiga-ui/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { TuiAmountOptions } from './amount.options';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TuiAmountPipePipe implements PipeTransform {
|
|
7
|
+
private readonly options;
|
|
8
|
+
private readonly format;
|
|
9
|
+
constructor(options: TuiAmountOptions, format: Observable<TuiNumberFormatSettings>);
|
|
10
|
+
transform(value: number, currency?: import("@taiga-ui/addon-commerce").TuiCurrencyVariants, currencyAlign?: import("@taiga-ui/core").TuiHorizontalDirection): Observable<string>;
|
|
11
|
+
private getDecimalLimit;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAmountPipePipe, never>;
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TuiAmountPipePipe, "tuiAmount">;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"main": "../../bundles/taiga-ui-experimental-pipes-amount.umd.js",
|
|
3
|
+
"module": "../../fesm2015/taiga-ui-experimental-pipes-amount.js",
|
|
4
|
+
"es2015": "../../fesm2015/taiga-ui-experimental-pipes-amount.js",
|
|
5
|
+
"esm2015": "../../esm2015/pipes/amount/taiga-ui-experimental-pipes-amount.js",
|
|
6
|
+
"fesm2015": "../../fesm2015/taiga-ui-experimental-pipes-amount.js",
|
|
7
|
+
"typings": "taiga-ui-experimental-pipes-amount.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@taiga-ui/experimental/pipes/amount"
|
|
10
|
+
}
|
package/pipes/index.d.ts
CHANGED