@taiga-ui/experimental 3.43.0 → 3.44.0-canary.b3de48e

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 (53) hide show
  1. package/bundles/taiga-ui-experimental-components-avatar.umd.js +13 -13
  2. package/bundles/taiga-ui-experimental-components-avatar.umd.js.map +1 -1
  3. package/bundles/taiga-ui-experimental-components.umd.js +4 -10
  4. package/bundles/taiga-ui-experimental-components.umd.js.map +1 -1
  5. package/bundles/taiga-ui-experimental-directives-fade.umd.js +168 -0
  6. package/bundles/taiga-ui-experimental-directives-fade.umd.js.map +1 -0
  7. package/bundles/taiga-ui-experimental-directives.umd.js +21 -0
  8. package/bundles/taiga-ui-experimental-directives.umd.js.map +1 -0
  9. package/bundles/taiga-ui-experimental.umd.js +10 -4
  10. package/bundles/taiga-ui-experimental.umd.js.map +1 -1
  11. package/components/avatar/avatar.module.d.ts +1 -1
  12. package/components/index.d.ts +0 -1
  13. package/directives/fade/fade.component.d.ts +5 -0
  14. package/directives/fade/fade.directive.d.ts +15 -0
  15. package/{components → directives}/fade/fade.module.d.ts +2 -1
  16. package/{components → directives}/fade/index.d.ts +1 -0
  17. package/directives/fade/package.json +10 -0
  18. package/{components/fade/taiga-ui-experimental-components-fade.d.ts → directives/fade/taiga-ui-experimental-directives-fade.d.ts} +1 -1
  19. package/directives/index.d.ts +1 -0
  20. package/directives/package.json +10 -0
  21. package/directives/taiga-ui-experimental-directives.d.ts +5 -0
  22. package/esm2015/components/avatar/avatar.component.js +5 -5
  23. package/esm2015/components/avatar/avatar.module.js +2 -2
  24. package/esm2015/components/index.js +1 -2
  25. package/esm2015/directives/fade/fade.component.js +16 -0
  26. package/esm2015/directives/fade/fade.directive.js +100 -0
  27. package/esm2015/directives/fade/fade.module.js +17 -0
  28. package/esm2015/directives/fade/index.js +4 -0
  29. package/esm2015/{components/fade/taiga-ui-experimental-components-fade.js → directives/fade/taiga-ui-experimental-directives-fade.js} +1 -1
  30. package/esm2015/directives/index.js +2 -0
  31. package/esm2015/directives/taiga-ui-experimental-directives.js +5 -0
  32. package/esm2015/index.js +2 -1
  33. package/fesm2015/taiga-ui-experimental-components-avatar.js +5 -5
  34. package/fesm2015/taiga-ui-experimental-components-avatar.js.map +1 -1
  35. package/fesm2015/taiga-ui-experimental-components.js +0 -1
  36. package/fesm2015/taiga-ui-experimental-components.js.map +1 -1
  37. package/fesm2015/taiga-ui-experimental-directives-fade.js +133 -0
  38. package/fesm2015/taiga-ui-experimental-directives-fade.js.map +1 -0
  39. package/fesm2015/taiga-ui-experimental-directives.js +6 -0
  40. package/fesm2015/taiga-ui-experimental-directives.js.map +1 -0
  41. package/fesm2015/taiga-ui-experimental.js +1 -0
  42. package/fesm2015/taiga-ui-experimental.js.map +1 -1
  43. package/index.d.ts +1 -0
  44. package/package.json +4 -4
  45. package/bundles/taiga-ui-experimental-components-fade.umd.js +0 -144
  46. package/bundles/taiga-ui-experimental-components-fade.umd.js.map +0 -1
  47. package/components/fade/fade.component.d.ts +0 -14
  48. package/components/fade/package.json +0 -10
  49. package/esm2015/components/fade/fade.component.js +0 -93
  50. package/esm2015/components/fade/fade.module.js +0 -16
  51. package/esm2015/components/fade/index.js +0 -3
  52. package/fesm2015/taiga-ui-experimental-components-fade.js +0 -113
  53. package/fesm2015/taiga-ui-experimental-components-fade.js.map +0 -1
@@ -1,144 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@ng-web-apis/mutation-observer'), require('@taiga-ui/cdk'), require('rxjs'), require('rxjs/operators')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/experimental/components/fade', ['exports', '@angular/core', '@ng-web-apis/mutation-observer', '@taiga-ui/cdk', 'rxjs', 'rxjs/operators'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].experimental = global["taiga-ui"].experimental || {}, global["taiga-ui"].experimental.components = global["taiga-ui"].experimental.components || {}, global["taiga-ui"].experimental.components.fade = {}), global.ng.core, global.mutationObserver, global.cdk, global.rxjs, global.rxjs.operators));
5
- })(this, (function (exports, i0, mutationObserver, cdk, i1, operators) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
20
- }
21
- n["default"] = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
27
-
28
- var TuiFadeComponent = /** @class */ (function () {
29
- function TuiFadeComponent(destroy$, resize$, mutate$, element, zone) {
30
- var _this = this;
31
- this.lineHeight = '100%';
32
- this.size = '1.5em';
33
- this.offset = '0em';
34
- this.orientation = 'horizontal';
35
- var el = element.nativeElement;
36
- i1.merge(resize$, mutate$, i1.fromEvent(el, 'scroll'))
37
- .pipe(cdk.tuiZonefree(zone), operators.takeUntil(destroy$))
38
- .subscribe(function () {
39
- el.classList.toggle('_start', !!el.scrollLeft || !!el.scrollTop);
40
- el.classList.toggle('_end', _this.isEnd(el));
41
- });
42
- }
43
- TuiFadeComponent.prototype.isEnd = function (el) {
44
- return (el.scrollLeft < el.scrollWidth - el.clientWidth ||
45
- el.scrollTop < el.scrollHeight - el.clientHeight ||
46
- (this.orientation === 'horizontal' && el.scrollHeight > el.clientHeight));
47
- };
48
- return TuiFadeComponent;
49
- }());
50
- TuiFadeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFadeComponent, deps: [{ token: cdk.TuiDestroyService, self: true }, { token: cdk.TuiResizeService }, { token: mutationObserver.MutationObserverService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Component });
51
- TuiFadeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiFadeComponent, selector: "tui-fade", inputs: { lineHeight: "lineHeight", size: "size", offset: "offset", orientation: "orientation" }, host: { properties: { "style.--line-height": "this.lineHeight", "style.--fade-size": "this.size", "style.--fade-offset": "this.offset", "attr.data-orientation": "this.orientation" } }, providers: [
52
- cdk.TuiDestroyService,
53
- cdk.TuiResizeService,
54
- mutationObserver.MutationObserverService,
55
- {
56
- provide: mutationObserver.MUTATION_OBSERVER_INIT,
57
- useValue: { characterData: true, subtree: true },
58
- },
59
- ], ngImport: i0__namespace, template: '<ng-content></ng-content>', isInline: true, styles: [":host{transition-property:-webkit-mask-position;transition-property:mask-position;transition-property:mask-position,-webkit-mask-position;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;overflow:hidden;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}:host[data-orientation=horizontal]{line-height:var(--line-height)!important;-webkit-mask-image:linear-gradient(to right,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to left,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(#000,#000);mask-image:linear-gradient(to right,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to left,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(#000,#000);-webkit-mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;-webkit-mask-size:calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height),calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height),100% calc(100% - var(--line-height));mask-size:calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height),calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height),100% calc(100% - var(--line-height))}:host[data-orientation=horizontal]._start{-webkit-mask-position:left bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;mask-position:left bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top}:host[data-orientation=horizontal]._end{-webkit-mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,right bottom,top;mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,right bottom,top}:host[data-orientation=horizontal]._start._end{-webkit-mask-position:left bottom,right bottom,top;mask-position:left bottom,right bottom,top}:host[data-orientation=vertical]{-webkit-mask-image:linear-gradient(to bottom,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to top,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset)));mask-image:linear-gradient(to bottom,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to top,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset)));-webkit-mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left calc(100% + var(--fade-size) + var(--fade-offset));mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left calc(100% + var(--fade-size) + var(--fade-offset));-webkit-mask-size:100% calc(50% + var(--fade-size) + var(--fade-offset));mask-size:100% calc(50% + var(--fade-size) + var(--fade-offset))}:host[data-orientation=vertical]._start{-webkit-mask-position:left top,left calc(100% + var(--fade-size) + var(--fade-offset));mask-position:left top,left calc(100% + var(--fade-size) + var(--fade-offset))}:host[data-orientation=vertical]._end{-webkit-mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left bottom;mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left bottom}:host[data-orientation=vertical]._start._end{-webkit-mask-position:left top,left bottom;mask-position:left top,left bottom}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
60
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFadeComponent, decorators: [{
61
- type: i0.Component,
62
- args: [{
63
- selector: 'tui-fade',
64
- template: '<ng-content></ng-content>',
65
- styleUrls: ['./fade.style.less'],
66
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
67
- providers: [
68
- cdk.TuiDestroyService,
69
- cdk.TuiResizeService,
70
- mutationObserver.MutationObserverService,
71
- {
72
- provide: mutationObserver.MUTATION_OBSERVER_INIT,
73
- useValue: { characterData: true, subtree: true },
74
- },
75
- ],
76
- }]
77
- }], ctorParameters: function () {
78
- return [{ type: i1__namespace.Observable, decorators: [{
79
- type: i0.Self
80
- }, {
81
- type: i0.Inject,
82
- args: [cdk.TuiDestroyService]
83
- }] }, { type: i1__namespace.Observable, decorators: [{
84
- type: i0.Inject,
85
- args: [cdk.TuiResizeService]
86
- }] }, { type: i1__namespace.Observable, decorators: [{
87
- type: i0.Inject,
88
- args: [mutationObserver.MutationObserverService]
89
- }] }, { type: i0__namespace.ElementRef, decorators: [{
90
- type: i0.Inject,
91
- args: [i0.ElementRef]
92
- }] }, { type: i0__namespace.NgZone, decorators: [{
93
- type: i0.Inject,
94
- args: [i0.NgZone]
95
- }] }];
96
- }, propDecorators: { lineHeight: [{
97
- type: i0.Input
98
- }, {
99
- type: i0.HostBinding,
100
- args: ['style.--line-height']
101
- }], size: [{
102
- type: i0.Input
103
- }, {
104
- type: i0.HostBinding,
105
- args: ['style.--fade-size']
106
- }], offset: [{
107
- type: i0.Input
108
- }, {
109
- type: i0.HostBinding,
110
- args: ['style.--fade-offset']
111
- }], orientation: [{
112
- type: i0.Input
113
- }, {
114
- type: i0.HostBinding,
115
- args: ['attr.data-orientation']
116
- }] } });
117
-
118
- var TuiFadeModule = /** @class */ (function () {
119
- function TuiFadeModule() {
120
- }
121
- return TuiFadeModule;
122
- }());
123
- TuiFadeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFadeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
124
- TuiFadeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFadeModule, declarations: [TuiFadeComponent], exports: [TuiFadeComponent] });
125
- TuiFadeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFadeModule });
126
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFadeModule, decorators: [{
127
- type: i0.NgModule,
128
- args: [{
129
- declarations: [TuiFadeComponent],
130
- exports: [TuiFadeComponent],
131
- }]
132
- }] });
133
-
134
- /**
135
- * Generated bundle index. Do not edit.
136
- */
137
-
138
- exports.TuiFadeComponent = TuiFadeComponent;
139
- exports.TuiFadeModule = TuiFadeModule;
140
-
141
- Object.defineProperty(exports, '__esModule', { value: true });
142
-
143
- }));
144
- //# sourceMappingURL=taiga-ui-experimental-components-fade.umd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-experimental-components-fade.umd.js","sources":["../../../projects/experimental/components/fade/fade.component.ts","../../../projects/experimental/components/fade/fade.module.ts","../../../projects/experimental/components/fade/taiga-ui-experimental-components-fade.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n Inject,\n Input,\n NgZone,\n Self,\n} from '@angular/core';\nimport {\n MUTATION_OBSERVER_INIT,\n MutationObserverService,\n} from '@ng-web-apis/mutation-observer';\nimport {TuiDestroyService, TuiResizeService, tuiZonefree} from '@taiga-ui/cdk';\nimport {TuiOrientation} from '@taiga-ui/core';\nimport {fromEvent, merge, Observable} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\n@Component({\n selector: 'tui-fade',\n template: '<ng-content></ng-content>',\n styleUrls: ['./fade.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n TuiDestroyService,\n TuiResizeService,\n MutationObserverService,\n {\n provide: MUTATION_OBSERVER_INIT,\n useValue: {characterData: true, subtree: true},\n },\n ],\n})\nexport class TuiFadeComponent {\n @Input()\n @HostBinding('style.--line-height')\n lineHeight = '100%';\n\n @Input()\n @HostBinding('style.--fade-size')\n size = '1.5em';\n\n @Input()\n @HostBinding('style.--fade-offset')\n offset = '0em';\n\n @Input()\n @HostBinding('attr.data-orientation')\n orientation: TuiOrientation = 'horizontal';\n\n constructor(\n @Self() @Inject(TuiDestroyService) destroy$: Observable<unknown>,\n @Inject(TuiResizeService) resize$: Observable<unknown>,\n @Inject(MutationObserverService) mutate$: Observable<unknown>,\n @Inject(ElementRef) element: ElementRef<HTMLElement>,\n @Inject(NgZone) zone: NgZone,\n ) {\n const el = element.nativeElement;\n\n merge(resize$, mutate$, fromEvent(el, 'scroll'))\n .pipe(tuiZonefree(zone), takeUntil(destroy$))\n .subscribe(() => {\n el.classList.toggle('_start', !!el.scrollLeft || !!el.scrollTop);\n el.classList.toggle('_end', this.isEnd(el));\n });\n }\n\n private isEnd(el: HTMLElement): boolean {\n return (\n el.scrollLeft < el.scrollWidth - el.clientWidth ||\n el.scrollTop < el.scrollHeight - el.clientHeight ||\n (this.orientation === 'horizontal' && el.scrollHeight > el.clientHeight)\n );\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFadeComponent} from './fade.component';\n\n@NgModule({\n declarations: [TuiFadeComponent],\n exports: [TuiFadeComponent],\n})\nexport class TuiFadeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["merge","fromEvent","tuiZonefree","takeUntil","TuiDestroyService","TuiResizeService","MutationObserverService","ElementRef","NgZone","i0","MUTATION_OBSERVER_INIT","Component","ChangeDetectionStrategy","Self","Inject","Input","HostBinding","NgModule"],"mappings":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EAAA,CAAA;sBAJzBQ,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;wBACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;wBAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;qBAC9B,CAAA;;;ICPD;;IAEG;;;;;;;;;;;"}
@@ -1,14 +0,0 @@
1
- import { ElementRef, NgZone } from '@angular/core';
2
- import { TuiOrientation } from '@taiga-ui/core';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class TuiFadeComponent {
6
- lineHeight: string;
7
- size: string;
8
- offset: string;
9
- orientation: TuiOrientation;
10
- constructor(destroy$: Observable<unknown>, resize$: Observable<unknown>, mutate$: Observable<unknown>, element: ElementRef<HTMLElement>, zone: NgZone);
11
- private isEnd;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiFadeComponent, [{ self: true; }, null, null, null, null]>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiFadeComponent, "tui-fade", never, { "lineHeight": "lineHeight"; "size": "size"; "offset": "offset"; "orientation": "orientation"; }, {}, never, ["*"]>;
14
- }
@@ -1,10 +0,0 @@
1
- {
2
- "main": "../../bundles/taiga-ui-experimental-components-fade.umd.js",
3
- "module": "../../fesm2015/taiga-ui-experimental-components-fade.js",
4
- "es2015": "../../fesm2015/taiga-ui-experimental-components-fade.js",
5
- "esm2015": "../../esm2015/components/fade/taiga-ui-experimental-components-fade.js",
6
- "fesm2015": "../../fesm2015/taiga-ui-experimental-components-fade.js",
7
- "typings": "taiga-ui-experimental-components-fade.d.ts",
8
- "sideEffects": false,
9
- "name": "@taiga-ui/experimental/components/fade"
10
- }
@@ -1,93 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Inject, Input, NgZone, Self, } from '@angular/core';
2
- import { MUTATION_OBSERVER_INIT, MutationObserverService, } from '@ng-web-apis/mutation-observer';
3
- import { TuiDestroyService, TuiResizeService, tuiZonefree } from '@taiga-ui/cdk';
4
- import { fromEvent, merge } from 'rxjs';
5
- import { takeUntil } from 'rxjs/operators';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "rxjs";
8
- export class TuiFadeComponent {
9
- constructor(destroy$, resize$, mutate$, element, zone) {
10
- this.lineHeight = '100%';
11
- this.size = '1.5em';
12
- this.offset = '0em';
13
- this.orientation = 'horizontal';
14
- const el = element.nativeElement;
15
- merge(resize$, mutate$, fromEvent(el, 'scroll'))
16
- .pipe(tuiZonefree(zone), takeUntil(destroy$))
17
- .subscribe(() => {
18
- el.classList.toggle('_start', !!el.scrollLeft || !!el.scrollTop);
19
- el.classList.toggle('_end', this.isEnd(el));
20
- });
21
- }
22
- isEnd(el) {
23
- return (el.scrollLeft < el.scrollWidth - el.clientWidth ||
24
- el.scrollTop < el.scrollHeight - el.clientHeight ||
25
- (this.orientation === 'horizontal' && el.scrollHeight > el.clientHeight));
26
- }
27
- }
28
- TuiFadeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFadeComponent, deps: [{ token: TuiDestroyService, self: true }, { token: TuiResizeService }, { token: MutationObserverService }, { token: ElementRef }, { token: NgZone }], target: i0.ɵɵFactoryTarget.Component });
29
- TuiFadeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiFadeComponent, selector: "tui-fade", inputs: { lineHeight: "lineHeight", size: "size", offset: "offset", orientation: "orientation" }, host: { properties: { "style.--line-height": "this.lineHeight", "style.--fade-size": "this.size", "style.--fade-offset": "this.offset", "attr.data-orientation": "this.orientation" } }, providers: [
30
- TuiDestroyService,
31
- TuiResizeService,
32
- MutationObserverService,
33
- {
34
- provide: MUTATION_OBSERVER_INIT,
35
- useValue: { characterData: true, subtree: true },
36
- },
37
- ], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{transition-property:-webkit-mask-position;transition-property:mask-position;transition-property:mask-position,-webkit-mask-position;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;overflow:hidden;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}:host[data-orientation=horizontal]{line-height:var(--line-height)!important;-webkit-mask-image:linear-gradient(to right,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to left,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(#000,#000);mask-image:linear-gradient(to right,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to left,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(#000,#000);-webkit-mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;-webkit-mask-size:calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height),calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height),100% calc(100% - var(--line-height));mask-size:calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height),calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height),100% calc(100% - var(--line-height))}:host[data-orientation=horizontal]._start{-webkit-mask-position:left bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;mask-position:left bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top}:host[data-orientation=horizontal]._end{-webkit-mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,right bottom,top;mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,right bottom,top}:host[data-orientation=horizontal]._start._end{-webkit-mask-position:left bottom,right bottom,top;mask-position:left bottom,right bottom,top}:host[data-orientation=vertical]{-webkit-mask-image:linear-gradient(to bottom,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to top,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset)));mask-image:linear-gradient(to bottom,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to top,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset)));-webkit-mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left calc(100% + var(--fade-size) + var(--fade-offset));mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left calc(100% + var(--fade-size) + var(--fade-offset));-webkit-mask-size:100% calc(50% + var(--fade-size) + var(--fade-offset));mask-size:100% calc(50% + var(--fade-size) + var(--fade-offset))}:host[data-orientation=vertical]._start{-webkit-mask-position:left top,left calc(100% + var(--fade-size) + var(--fade-offset));mask-position:left top,left calc(100% + var(--fade-size) + var(--fade-offset))}:host[data-orientation=vertical]._end{-webkit-mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left bottom;mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left bottom}:host[data-orientation=vertical]._start._end{-webkit-mask-position:left top,left bottom;mask-position:left top,left bottom}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFadeComponent, decorators: [{
39
- type: Component,
40
- args: [{
41
- selector: 'tui-fade',
42
- template: '<ng-content></ng-content>',
43
- styleUrls: ['./fade.style.less'],
44
- changeDetection: ChangeDetectionStrategy.OnPush,
45
- providers: [
46
- TuiDestroyService,
47
- TuiResizeService,
48
- MutationObserverService,
49
- {
50
- provide: MUTATION_OBSERVER_INIT,
51
- useValue: { characterData: true, subtree: true },
52
- },
53
- ],
54
- }]
55
- }], ctorParameters: function () { return [{ type: i1.Observable, decorators: [{
56
- type: Self
57
- }, {
58
- type: Inject,
59
- args: [TuiDestroyService]
60
- }] }, { type: i1.Observable, decorators: [{
61
- type: Inject,
62
- args: [TuiResizeService]
63
- }] }, { type: i1.Observable, decorators: [{
64
- type: Inject,
65
- args: [MutationObserverService]
66
- }] }, { type: i0.ElementRef, decorators: [{
67
- type: Inject,
68
- args: [ElementRef]
69
- }] }, { type: i0.NgZone, decorators: [{
70
- type: Inject,
71
- args: [NgZone]
72
- }] }]; }, propDecorators: { lineHeight: [{
73
- type: Input
74
- }, {
75
- type: HostBinding,
76
- args: ['style.--line-height']
77
- }], size: [{
78
- type: Input
79
- }, {
80
- type: HostBinding,
81
- args: ['style.--fade-size']
82
- }], offset: [{
83
- type: Input
84
- }, {
85
- type: HostBinding,
86
- args: ['style.--fade-offset']
87
- }], orientation: [{
88
- type: Input
89
- }, {
90
- type: HostBinding,
91
- args: ['attr.data-orientation']
92
- }] } });
93
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFkZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvY29tcG9uZW50cy9mYWRlL2ZhZGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFVBQVUsRUFDVixXQUFXLEVBQ1gsTUFBTSxFQUNOLEtBQUssRUFDTCxNQUFNLEVBQ04sSUFBSSxHQUNQLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFDSCxzQkFBc0IsRUFDdEIsdUJBQXVCLEdBQzFCLE1BQU0sZ0NBQWdDLENBQUM7QUFDeEMsT0FBTyxFQUFDLGlCQUFpQixFQUFFLGdCQUFnQixFQUFFLFdBQVcsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUUvRSxPQUFPLEVBQUMsU0FBUyxFQUFFLEtBQUssRUFBYSxNQUFNLE1BQU0sQ0FBQztBQUNsRCxPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7OztBQWlCekMsTUFBTSxPQUFPLGdCQUFnQjtJQWlCekIsWUFD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gPiBlbC5jbGllbnRIZWlnaHQpXG4gICAgICAgICk7XG4gICAgfVxufVxuIl19
@@ -1,16 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { TuiFadeComponent } from './fade.component';
3
- import * as i0 from "@angular/core";
4
- export class TuiFadeModule {
5
- }
6
- TuiFadeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFadeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
- TuiFadeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFadeModule, declarations: [TuiFadeComponent], exports: [TuiFadeComponent] });
8
- TuiFadeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFadeModule });
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFadeModule, decorators: [{
10
- type: NgModule,
11
- args: [{
12
- declarations: [TuiFadeComponent],
13
- exports: [TuiFadeComponent],
14
- }]
15
- }] });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFkZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvY29tcG9uZW50cy9mYWRlL2ZhZGUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFdkMsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sa0JBQWtCLENBQUM7O0FBTWxELE1BQU0sT0FBTyxhQUFhOzsyR0FBYixhQUFhOzRHQUFiLGFBQWEsaUJBSFAsZ0JBQWdCLGFBQ3JCLGdCQUFnQjs0R0FFakIsYUFBYTs0RkFBYixhQUFhO2tCQUp6QixRQUFRO21CQUFDO29CQUNOLFlBQVksRUFBRSxDQUFDLGdCQUFnQixDQUFDO29CQUNoQyxPQUFPLEVBQUUsQ0FBQyxnQkFBZ0IsQ0FBQztpQkFDOUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHtUdWlGYWRlQ29tcG9uZW50fSBmcm9tICcuL2ZhZGUuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtUdWlGYWRlQ29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbVHVpRmFkZUNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUZhZGVNb2R1bGUge31cbiJdfQ==
@@ -1,3 +0,0 @@
1
- export * from './fade.component';
2
- export * from './fade.module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvY29tcG9uZW50cy9mYWRlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2ZhZGUuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vZmFkZS5tb2R1bGUnO1xuIl19
@@ -1,113 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { ElementRef, NgZone, Component, ChangeDetectionStrategy, Self, Inject, Input, HostBinding, NgModule } from '@angular/core';
3
- import { MutationObserverService, MUTATION_OBSERVER_INIT } from '@ng-web-apis/mutation-observer';
4
- import { tuiZonefree, TuiDestroyService, TuiResizeService } from '@taiga-ui/cdk';
5
- import * as i1 from 'rxjs';
6
- import { merge, fromEvent } from 'rxjs';
7
- import { takeUntil } from 'rxjs/operators';
8
-
9
- class TuiFadeComponent {
10
- constructor(destroy$, resize$, mutate$, element, zone) {
11
- this.lineHeight = '100%';
12
- this.size = '1.5em';
13
- this.offset = '0em';
14
- this.orientation = 'horizontal';
15
- const el = element.nativeElement;
16
- merge(resize$, mutate$, fromEvent(el, 'scroll'))
17
- .pipe(tuiZonefree(zone), takeUntil(destroy$))
18
- .subscribe(() => {
19
- el.classList.toggle('_start', !!el.scrollLeft || !!el.scrollTop);
20
- el.classList.toggle('_end', this.isEnd(el));
21
- });
22
- }
23
- isEnd(el) {
24
- return (el.scrollLeft < el.scrollWidth - el.clientWidth ||
25
- el.scrollTop < el.scrollHeight - el.clientHeight ||
26
- (this.orientation === 'horizontal' && el.scrollHeight > el.clientHeight));
27
- }
28
- }
29
- TuiFadeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFadeComponent, deps: [{ token: TuiDestroyService, self: true }, { token: TuiResizeService }, { token: MutationObserverService }, { token: ElementRef }, { token: NgZone }], target: i0.ɵɵFactoryTarget.Component });
30
- TuiFadeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiFadeComponent, selector: "tui-fade", inputs: { lineHeight: "lineHeight", size: "size", offset: "offset", orientation: "orientation" }, host: { properties: { "style.--line-height": "this.lineHeight", "style.--fade-size": "this.size", "style.--fade-offset": "this.offset", "attr.data-orientation": "this.orientation" } }, providers: [
31
- TuiDestroyService,
32
- TuiResizeService,
33
- MutationObserverService,
34
- {
35
- provide: MUTATION_OBSERVER_INIT,
36
- useValue: { characterData: true, subtree: true },
37
- },
38
- ], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{transition-property:-webkit-mask-position;transition-property:mask-position;transition-property:mask-position,-webkit-mask-position;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;overflow:hidden;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}:host[data-orientation=horizontal]{line-height:var(--line-height)!important;-webkit-mask-image:linear-gradient(to right,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to left,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(#000,#000);mask-image:linear-gradient(to right,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to left,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(#000,#000);-webkit-mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;-webkit-mask-size:calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height),calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height),100% calc(100% - var(--line-height));mask-size:calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height),calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height),100% calc(100% - var(--line-height))}:host[data-orientation=horizontal]._start{-webkit-mask-position:left bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;mask-position:left bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top}:host[data-orientation=horizontal]._end{-webkit-mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,right bottom,top;mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,right bottom,top}:host[data-orientation=horizontal]._start._end{-webkit-mask-position:left bottom,right bottom,top;mask-position:left bottom,right bottom,top}:host[data-orientation=vertical]{-webkit-mask-image:linear-gradient(to bottom,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to top,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset)));mask-image:linear-gradient(to bottom,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to top,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset)));-webkit-mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left calc(100% + var(--fade-size) + var(--fade-offset));mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left calc(100% + var(--fade-size) + var(--fade-offset));-webkit-mask-size:100% calc(50% + var(--fade-size) + var(--fade-offset));mask-size:100% calc(50% + var(--fade-size) + var(--fade-offset))}:host[data-orientation=vertical]._start{-webkit-mask-position:left top,left calc(100% + var(--fade-size) + var(--fade-offset));mask-position:left top,left calc(100% + var(--fade-size) + var(--fade-offset))}:host[data-orientation=vertical]._end{-webkit-mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left bottom;mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left bottom}:host[data-orientation=vertical]._start._end{-webkit-mask-position:left top,left bottom;mask-position:left top,left bottom}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFadeComponent, decorators: [{
40
- type: Component,
41
- args: [{
42
- selector: 'tui-fade',
43
- template: '<ng-content></ng-content>',
44
- styleUrls: ['./fade.style.less'],
45
- changeDetection: ChangeDetectionStrategy.OnPush,
46
- providers: [
47
- TuiDestroyService,
48
- TuiResizeService,
49
- MutationObserverService,
50
- {
51
- provide: MUTATION_OBSERVER_INIT,
52
- useValue: { characterData: true, subtree: true },
53
- },
54
- ],
55
- }]
56
- }], ctorParameters: function () { return [{ type: i1.Observable, decorators: [{
57
- type: Self
58
- }, {
59
- type: Inject,
60
- args: [TuiDestroyService]
61
- }] }, { type: i1.Observable, decorators: [{
62
- type: Inject,
63
- args: [TuiResizeService]
64
- }] }, { type: i1.Observable, decorators: [{
65
- type: Inject,
66
- args: [MutationObserverService]
67
- }] }, { type: i0.ElementRef, decorators: [{
68
- type: Inject,
69
- args: [ElementRef]
70
- }] }, { type: i0.NgZone, decorators: [{
71
- type: Inject,
72
- args: [NgZone]
73
- }] }]; }, propDecorators: { lineHeight: [{
74
- type: Input
75
- }, {
76
- type: HostBinding,
77
- args: ['style.--line-height']
78
- }], size: [{
79
- type: Input
80
- }, {
81
- type: HostBinding,
82
- args: ['style.--fade-size']
83
- }], offset: [{
84
- type: Input
85
- }, {
86
- type: HostBinding,
87
- args: ['style.--fade-offset']
88
- }], orientation: [{
89
- type: Input
90
- }, {
91
- type: HostBinding,
92
- args: ['attr.data-orientation']
93
- }] } });
94
-
95
- class TuiFadeModule {
96
- }
97
- TuiFadeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFadeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
98
- TuiFadeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFadeModule, declarations: [TuiFadeComponent], exports: [TuiFadeComponent] });
99
- TuiFadeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFadeModule });
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFadeModule, decorators: [{
101
- type: NgModule,
102
- args: [{
103
- declarations: [TuiFadeComponent],
104
- exports: [TuiFadeComponent],
105
- }]
106
- }] });
107
-
108
- /**
109
- * Generated bundle index. Do not edit.
110
- */
111
-
112
- export { TuiFadeComponent, TuiFadeModule };
113
- //# sourceMappingURL=taiga-ui-experimental-components-fade.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-experimental-components-fade.js","sources":["../../../projects/experimental/components/fade/fade.component.ts","../../../projects/experimental/components/fade/fade.module.ts","../../../projects/experimental/components/fade/taiga-ui-experimental-components-fade.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n Inject,\n Input,\n NgZone,\n Self,\n} from '@angular/core';\nimport {\n MUTATION_OBSERVER_INIT,\n MutationObserverService,\n} from '@ng-web-apis/mutation-observer';\nimport {TuiDestroyService, TuiResizeService, tuiZonefree} from '@taiga-ui/cdk';\nimport {TuiOrientation} from '@taiga-ui/core';\nimport {fromEvent, merge, Observable} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\n@Component({\n selector: 'tui-fade',\n template: '<ng-content></ng-content>',\n styleUrls: ['./fade.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n TuiDestroyService,\n TuiResizeService,\n MutationObserverService,\n {\n provide: MUTATION_OBSERVER_INIT,\n useValue: {characterData: true, subtree: true},\n },\n ],\n})\nexport class TuiFadeComponent {\n @Input()\n @HostBinding('style.--line-height')\n lineHeight = '100%';\n\n @Input()\n @HostBinding('style.--fade-size')\n size = '1.5em';\n\n @Input()\n @HostBinding('style.--fade-offset')\n offset = '0em';\n\n @Input()\n @HostBinding('attr.data-orientation')\n orientation: TuiOrientation = 'horizontal';\n\n constructor(\n @Self() @Inject(TuiDestroyService) destroy$: Observable<unknown>,\n @Inject(TuiResizeService) resize$: Observable<unknown>,\n @Inject(MutationObserverService) mutate$: Observable<unknown>,\n @Inject(ElementRef) element: ElementRef<HTMLElement>,\n @Inject(NgZone) zone: NgZone,\n ) {\n const el = element.nativeElement;\n\n merge(resize$, mutate$, fromEvent(el, 'scroll'))\n .pipe(tuiZonefree(zone), takeUntil(destroy$))\n .subscribe(() => {\n el.classList.toggle('_start', !!el.scrollLeft || !!el.scrollTop);\n el.classList.toggle('_end', this.isEnd(el));\n });\n }\n\n private isEnd(el: HTMLElement): boolean {\n return (\n el.scrollLeft < el.scrollWidth - el.clientWidth ||\n el.scrollTop < el.scrollHeight - el.clientHeight ||\n (this.orientation === 'horizontal' && el.scrollHeight > el.clientHeight)\n );\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFadeComponent} from './fade.component';\n\n@NgModule({\n declarations: [TuiFadeComponent],\n exports: [TuiFadeComponent],\n})\nexport class TuiFadeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAkCa,gBAAgB,CAAA;IAiBzB,WACuC,CAAA,QAA6B,EACtC,OAA4B,EACrB,OAA4B,EACzC,OAAgC,EACpC,IAAY,EAAA;QAnBhC,IAAU,CAAA,UAAA,GAAG,MAAM,CAAC;QAIpB,IAAI,CAAA,IAAA,GAAG,OAAO,CAAC;QAIf,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;QAIf,IAAW,CAAA,WAAA,GAAmB,YAAY,CAAC;AASvC,QAAA,MAAM,EAAE,GAAG,OAAO,CAAC,aAAa,CAAC;QAEjC,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;aAC3C,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;aAC5C,SAAS,CAAC,MAAK;AACZ,YAAA,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,UAAU,IAAI,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC;AACjE,YAAA,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;AAChD,SAAC,CAAC,CAAC;KACV;AAEO,IAAA,KAAK,CAAC,EAAe,EAAA;QACzB,QACI,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,WAAW,GAAG,EAAE,CAAC,WAAW;YAC/C,EAAE,CAAC,SAAS,GAAG,EAAE,CAAC,YAAY,GAAG,EAAE,CAAC,YAAY;AAChD,aAAC,IAAI,CAAC,WAAW,KAAK,YAAY,IAAI,EAAE,CAAC,YAAY,GAAG,EAAE,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