@taiga-ui/experimental 3.41.1-canary.fc0a9eb → 3.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/taiga-ui-experimental-components-avatar.umd.js +11 -8
- package/bundles/taiga-ui-experimental-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-fade.umd.js +144 -0
- package/bundles/taiga-ui-experimental-components-fade.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental-components-pin.umd.js +228 -0
- package/bundles/taiga-ui-experimental-components-pin.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental-components.umd.js +12 -6
- package/bundles/taiga-ui-experimental-components.umd.js.map +1 -1
- package/components/avatar/avatar.component.d.ts +3 -2
- package/components/avatar/avatar.module.d.ts +2 -2
- package/components/fade/fade.component.d.ts +14 -0
- package/components/fade/fade.module.d.ts +7 -0
- package/components/fade/index.d.ts +2 -0
- package/components/fade/package.json +10 -0
- package/components/{text/taiga-ui-experimental-components-text.d.ts → fade/taiga-ui-experimental-components-fade.d.ts} +1 -1
- package/components/index.d.ts +2 -1
- package/components/pin/cursor/pin-cursor.component.d.ts +5 -0
- package/components/pin/dot/pin-dot.component.d.ts +5 -0
- package/components/pin/icon/pin-icon.component.d.ts +5 -0
- package/components/pin/index.d.ts +9 -0
- package/components/pin/label/pin-label-subtitle.component.d.ts +5 -0
- package/components/pin/label/pin-label-title.component.d.ts +5 -0
- package/components/pin/label/pin-label.component.d.ts +5 -0
- package/components/pin/package.json +10 -0
- package/components/pin/pin.component.d.ts +5 -0
- package/components/pin/pin.module.d.ts +14 -0
- package/components/pin/selected/pin-selected.component.d.ts +5 -0
- package/components/pin/taiga-ui-experimental-components-pin.d.ts +5 -0
- package/esm2015/components/avatar/avatar.component.js +7 -3
- package/esm2015/components/avatar/avatar.module.js +5 -5
- package/esm2015/components/fade/fade.component.js +93 -0
- package/esm2015/components/fade/fade.module.js +16 -0
- package/esm2015/components/{text → fade}/index.js +3 -3
- package/esm2015/components/{text/taiga-ui-experimental-components-text.js → fade/taiga-ui-experimental-components-fade.js} +1 -1
- package/esm2015/components/index.js +3 -2
- package/esm2015/components/pin/cursor/pin-cursor.component.js +16 -0
- package/esm2015/components/pin/dot/pin-dot.component.js +16 -0
- package/esm2015/components/pin/icon/pin-icon.component.js +16 -0
- package/esm2015/components/pin/index.js +10 -0
- package/esm2015/components/pin/label/pin-label-subtitle.component.js +16 -0
- package/esm2015/components/pin/label/pin-label-title.component.js +16 -0
- package/esm2015/components/pin/label/pin-label.component.js +22 -0
- package/esm2015/components/pin/pin.component.js +16 -0
- package/esm2015/components/pin/pin.module.js +55 -0
- package/esm2015/components/pin/selected/pin-selected.component.js +16 -0
- package/esm2015/components/pin/taiga-ui-experimental-components-pin.js +5 -0
- package/fesm2015/taiga-ui-experimental-components-avatar.js +10 -6
- package/fesm2015/taiga-ui-experimental-components-avatar.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-fade.js +113 -0
- package/fesm2015/taiga-ui-experimental-components-fade.js.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-pin.js +172 -0
- package/fesm2015/taiga-ui-experimental-components-pin.js.map +1 -0
- package/fesm2015/taiga-ui-experimental-components.js +2 -1
- package/fesm2015/taiga-ui-experimental-components.js.map +1 -1
- package/package.json +4 -4
- package/bundles/taiga-ui-experimental-components-text.umd.js +0 -123
- package/bundles/taiga-ui-experimental-components-text.umd.js.map +0 -1
- package/components/text/index.d.ts +0 -2
- package/components/text/package.json +0 -10
- package/components/text/text.component.d.ts +0 -10
- package/components/text/text.module.d.ts +0 -7
- package/esm2015/components/text/text.component.js +0 -73
- package/esm2015/components/text/text.module.js +0 -16
- package/fesm2015/taiga-ui-experimental-components-text.js +0 -93
- package/fesm2015/taiga-ui-experimental-components-text.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/core'), require('@taiga-ui/experimental/components/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/experimental/components/avatar', ['exports', '@angular/core', '@taiga-ui/core', '@taiga-ui/experimental/components/
|
|
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.avatar = {}), global.ng.core, global.i1, global["taiga-ui"].experimental.components.
|
|
5
|
-
})(this, (function (exports, i0, i1, i2, i3, i4, pipes) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@taiga-ui/experimental/components/fade'), require('@angular/common'), require('@taiga-ui/kit'), require('@taiga-ui/experimental/pipes')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/experimental/components/avatar', ['exports', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core', '@taiga-ui/experimental/components/fade', '@angular/common', '@taiga-ui/kit', '@taiga-ui/experimental/pipes'], 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.avatar = {}), global.ng.core, global.cdk, global.i1, global["taiga-ui"].experimental.components.fade, global.ng.common, global.i4, global["taiga-ui"].experimental.pipes));
|
|
5
|
+
})(this, (function (exports, i0, cdk, i1, i2, i3, i4, pipes) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -50,6 +50,9 @@
|
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(TuiAvatarComponent.prototype, "type", {
|
|
52
52
|
get: function () {
|
|
53
|
+
if (!!this.value && !cdk.tuiIsString(this.value)) {
|
|
54
|
+
return 'img';
|
|
55
|
+
}
|
|
53
56
|
if (this.value.startsWith('tuiIcon') || this.value.endsWith('.svg')) {
|
|
54
57
|
return 'icon';
|
|
55
58
|
}
|
|
@@ -64,7 +67,7 @@
|
|
|
64
67
|
return TuiAvatarComponent;
|
|
65
68
|
}());
|
|
66
69
|
TuiAvatarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAvatarComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
67
|
-
TuiAvatarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAvatarComponent, selector: "tui-avatar", inputs: { size: "size", round: "round", src: "src" }, host: { properties: { "attr.data-size": "this.size", "class._round": "this.round", "class._img": "this.img" } }, ngImport: i0__namespace, template: "<ng-container [ngSwitch]=\"type\">\n <tui-svg\n *ngSwitchCase=\"'icon'\"\n class=\"t-icon\"\n [src]=\"value\"\n ></tui-svg>\n <span\n *ngSwitchCase=\"'text'\"\n class=\"t-text\"\n >\n {{ value }}\n </span>\n <img\n *ngSwitchCase=\"'img'\"\n alt=\"\"\n loading=\"lazy\"\n class=\"t-img\"\n [src]=\"value\"\n />\n <tui-
|
|
70
|
+
TuiAvatarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAvatarComponent, selector: "tui-avatar", inputs: { size: "size", round: "round", src: "src" }, host: { properties: { "attr.data-size": "this.size", "class._round": "this.round", "class._img": "this.img" } }, ngImport: i0__namespace, template: "<ng-container [ngSwitch]=\"type\">\n <tui-svg\n *ngSwitchCase=\"'icon'\"\n class=\"t-icon\"\n [src]=\"value\"\n ></tui-svg>\n <span\n *ngSwitchCase=\"'text'\"\n class=\"t-text\"\n >\n {{ value }}\n </span>\n <img\n *ngSwitchCase=\"'img'\"\n alt=\"\"\n loading=\"lazy\"\n class=\"t-img\"\n [src]=\"value\"\n />\n <tui-fade\n *ngSwitchDefault\n lineHeight=\"2.5rem\"\n class=\"t-content\"\n >\n <ng-content></ng-content>\n </tui-fade>\n</ng-container>\n", styles: [":host{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:var(--tui-radius-l);background:var(--tui-secondary);color:var(--tui-text-02)}:host[data-size=s]{width:2.5rem;height:2.5rem;font:var(--tui-font-text-l);font-weight:500}:host[data-size=s] .t-content{font:var(--tui-font-text-m);font-weight:500}:host[data-size=m]{width:3.5rem;height:3.5rem;font:var(--tui-font-heading-5);font-weight:500}:host[data-size=m] .t-content{font:var(--tui-font-text-l);font-weight:500}:host[data-size=l]{width:5rem;height:5rem;font:var(--tui-font-heading-3);font-weight:500}:host[data-size=l] .t-content{font:var(--tui-font-heading-4);font-weight:500}:host._round{border-radius:100%}:host._img{background:transparent}.t-icon{width:60%;height:60%}.t-img{width:100%;height:100%}.t-content{margin:.25rem;white-space:nowrap}\n"], components: [{ type: i1__namespace.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: i2__namespace.TuiFadeComponent, selector: "tui-fade", inputs: ["lineHeight", "size", "offset", "orientation"] }], directives: [{ type: i3__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i4__namespace.TuiLazyLoadingDirective, selector: "img[loading=\"lazy\"]", inputs: ["src"] }, { type: i3__namespace.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
68
71
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAvatarComponent, decorators: [{
|
|
69
72
|
type: i0.Component,
|
|
70
73
|
args: [{
|
|
@@ -100,13 +103,13 @@
|
|
|
100
103
|
i1.TuiSvgModule,
|
|
101
104
|
i4.TuiLazyLoadingModule,
|
|
102
105
|
pipes.TuiFallbackSrcModule,
|
|
103
|
-
i2.
|
|
106
|
+
i2.TuiFadeModule], exports: [TuiAvatarComponent, pipes.TuiFallbackSrcPipe] });
|
|
104
107
|
TuiAvatarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAvatarModule, imports: [[
|
|
105
108
|
i3.CommonModule,
|
|
106
109
|
i1.TuiSvgModule,
|
|
107
110
|
i4.TuiLazyLoadingModule,
|
|
108
111
|
pipes.TuiFallbackSrcModule,
|
|
109
|
-
i2.
|
|
112
|
+
i2.TuiFadeModule,
|
|
110
113
|
]] });
|
|
111
114
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAvatarModule, decorators: [{
|
|
112
115
|
type: i0.NgModule,
|
|
@@ -116,7 +119,7 @@
|
|
|
116
119
|
i1.TuiSvgModule,
|
|
117
120
|
i4.TuiLazyLoadingModule,
|
|
118
121
|
pipes.TuiFallbackSrcModule,
|
|
119
|
-
i2.
|
|
122
|
+
i2.TuiFadeModule,
|
|
120
123
|
],
|
|
121
124
|
declarations: [TuiAvatarComponent],
|
|
122
125
|
exports: [TuiAvatarComponent, pipes.TuiFallbackSrcPipe],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-components-avatar.umd.js","sources":["../../../projects/experimental/components/avatar/avatar.component.ts","../../../projects/experimental/components/avatar/avatar.template.html","../../../projects/experimental/components/avatar/avatar.module.ts","../../../projects/experimental/components/avatar/taiga-ui-experimental-components-avatar.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\n\n@Component({\n selector: 'tui-avatar',\n templateUrl: './avatar.template.html',\n styleUrls: ['./avatar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiAvatarComponent {\n @Input()\n @HostBinding('attr.data-size')\n size: TuiSizeL | TuiSizeS = 'm';\n\n @Input()\n @HostBinding('class._round')\n round = false;\n\n @Input()\n src: string | null = null;\n\n @HostBinding('class._img')\n get img(): boolean {\n return this.type === 'img';\n }\n\n get value(): string {\n return this.src || '';\n }\n\n get type(): 'content' | 'icon' | 'img' | 'text' {\n if (this.value.startsWith('tuiIcon') || this.value.endsWith('.svg')) {\n return 'icon';\n }\n\n if (this.value.length > 0 && this.value.length < 3) {\n return 'text';\n }\n\n return this.value.length ? 'img' : 'content';\n }\n}\n","<ng-container [ngSwitch]=\"type\">\n <tui-svg\n *ngSwitchCase=\"'icon'\"\n class=\"t-icon\"\n [src]=\"value\"\n ></tui-svg>\n <span\n *ngSwitchCase=\"'text'\"\n class=\"t-text\"\n >\n {{ value }}\n </span>\n <img\n *ngSwitchCase=\"'img'\"\n alt=\"\"\n loading=\"lazy\"\n class=\"t-img\"\n [src]=\"value\"\n />\n <tui-
|
|
1
|
+
{"version":3,"file":"taiga-ui-experimental-components-avatar.umd.js","sources":["../../../projects/experimental/components/avatar/avatar.component.ts","../../../projects/experimental/components/avatar/avatar.template.html","../../../projects/experimental/components/avatar/avatar.module.ts","../../../projects/experimental/components/avatar/taiga-ui-experimental-components-avatar.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\nimport {SafeResourceUrl} from '@angular/platform-browser';\nimport {tuiIsString} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\n\n@Component({\n selector: 'tui-avatar',\n templateUrl: './avatar.template.html',\n styleUrls: ['./avatar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiAvatarComponent {\n @Input()\n @HostBinding('attr.data-size')\n size: TuiSizeL | TuiSizeS = 'm';\n\n @Input()\n @HostBinding('class._round')\n round = false;\n\n @Input()\n src: SafeResourceUrl | string | null = null;\n\n @HostBinding('class._img')\n get img(): boolean {\n return this.type === 'img';\n }\n\n get value(): SafeResourceUrl | string {\n return this.src || '';\n }\n\n get type(): 'content' | 'icon' | 'img' | 'text' {\n if (!!this.value && !tuiIsString(this.value)) {\n return 'img';\n }\n\n if (this.value.startsWith('tuiIcon') || this.value.endsWith('.svg')) {\n return 'icon';\n }\n\n if (this.value.length > 0 && this.value.length < 3) {\n return 'text';\n }\n\n return this.value.length ? 'img' : 'content';\n }\n}\n","<ng-container [ngSwitch]=\"type\">\n <tui-svg\n *ngSwitchCase=\"'icon'\"\n class=\"t-icon\"\n [src]=\"value\"\n ></tui-svg>\n <span\n *ngSwitchCase=\"'text'\"\n class=\"t-text\"\n >\n {{ value }}\n </span>\n <img\n *ngSwitchCase=\"'img'\"\n alt=\"\"\n loading=\"lazy\"\n class=\"t-img\"\n [src]=\"value\"\n />\n <tui-fade\n *ngSwitchDefault\n lineHeight=\"2.5rem\"\n class=\"t-content\"\n >\n <ng-content></ng-content>\n </tui-fade>\n</ng-container>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiSvgModule} from '@taiga-ui/core';\nimport {TuiFadeModule} from '@taiga-ui/experimental/components/fade';\nimport {TuiFallbackSrcModule, TuiFallbackSrcPipe} from '@taiga-ui/experimental/pipes';\nimport {TuiLazyLoadingModule} from '@taiga-ui/kit';\n\nimport {TuiAvatarComponent} from './avatar.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiSvgModule,\n TuiLazyLoadingModule,\n TuiFallbackSrcModule,\n TuiFadeModule,\n ],\n declarations: [TuiAvatarComponent],\n exports: [TuiAvatarComponent, TuiFallbackSrcPipe],\n})\nexport class TuiAvatarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["tuiIsString","i0","i1","i2","i3","i4","Component","ChangeDetectionStrategy","Input","HostBinding","CommonModule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,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;IACN,oBAAA,OAAO,EAAE;4BACLN,eAAY;4BACZC,eAAY;4BACZC,uBAAoB;4BACpBC,0BAAoB;4BACpBC,gBAAa;IAChB,qBAAA;wBACD,YAAY,EAAE,CAAC,kBAAkB,CAAC;IAClC,oBAAA,OAAO,EAAE,CAAC,kBAAkB,EAAEC,wBAAkB,CAAC;qBACpD,CAAA;;;ICnBD;;IAEG;;;;;;;;;;;"}
|
|
@@ -0,0 +1,144 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,QAAA,gBAAA,kBAAA,YAAA;QAiBI,SACuC,gBAAA,CAAA,QAA6B,EACtC,OAA4B,EACrB,OAA4B,EACzC,OAAgC,EACpC,IAAY,EAAA;YALhC,IAeC,KAAA,GAAA,IAAA,CAAA;IA7BD,QAAA,IAAU,CAAA,UAAA,GAAG,MAAM,CAAC;IAIpB,QAAA,IAAI,CAAA,IAAA,GAAG,OAAO,CAAC;IAIf,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;IAIf,QAAA,IAAW,CAAA,WAAA,GAAmB,YAAY,CAAC;IASvC,QAAA,IAAM,EAAE,GAAG,OAAO,CAAC,aAAa,CAAC;YAEjCA,QAAK,CAAC,OAAO,EAAE,OAAO,EAAEC,YAAS,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;iBAC3C,IAAI,CAACC,eAAW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AM;mCAACN,SAAM,CAAA;;6BAnBlB,UAAU,EAAA,CAAA;0BAFTO,QAAK;;0BACLC,cAAW;2BAAC,qBAAqB,CAAA;oBAKlC,IAAI,EAAA,CAAA;0BAFHD,QAAK;;0BACLC,cAAW;2BAAC,mBAAmB,CAAA;oBAKhC,MAAM,EAAA,CAAA;0BAFLD,QAAK;;0BACLC,cAAW;2BAAC,qBAAqB,CAAA;oBAKlC,WAAW,EAAA,CAAA;0BAFVD,QAAK;;0BACLC,cAAW;2BAAC,uBAAuB,CAAA;;;ACxCxC,QAAA,aAAA,kBAAA,YAAA;IAAA,IAAA,SAAA,aAAA,GAAA;;;;qIAAa,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAP,aAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;sIAAb,aAAa,EAAA,YAAA,EAAA,CAHP,gBAAgB,CAAA,EAAA,OAAA,EAAA,CACrB,gBAAgB,CAAA,EAAA,CAAA,CAAA;sIAEjB,aAAa,EAAA,CAAA,CAAA;sHAAb,aAAa,EAAA,UAAA,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;;;;;;;;;;;"}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/experimental/components/pin', ['exports', '@angular/core'], 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.pin = {}), global.ng.core));
|
|
5
|
+
})(this, (function (exports, i0) { '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
|
+
|
|
27
|
+
var TuiPinCursorComponent = /** @class */ (function () {
|
|
28
|
+
function TuiPinCursorComponent() {
|
|
29
|
+
}
|
|
30
|
+
return TuiPinCursorComponent;
|
|
31
|
+
}());
|
|
32
|
+
TuiPinCursorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinCursorComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
33
|
+
TuiPinCursorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPinCursorComponent, selector: "tui-pin-cursor", ngImport: i0__namespace, template: "<svg\n fill=\"none\"\n height=\"9\"\n viewBox=\"0 0 12 9\"\n width=\"12\"\n xmlns=\"http://www.w3.org/2000/svg\"\n>\n <!--suppress AngularUndefinedTag -->\n <path\n d=\"M0 8.99993C4 8 8 8 12 8.99993C9.91509 5.73239 8.5 3 6 0C3.5 3 2 5.5 0 8.99993Z\"\n fill=\"currentColor\"\n />\n</svg>\n", styles: [":host{position:relative;top:-.5rem;display:flex;transform:translateZ(-1em);margin:auto}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
34
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinCursorComponent, decorators: [{
|
|
35
|
+
type: i0.Component,
|
|
36
|
+
args: [{
|
|
37
|
+
selector: 'tui-pin-cursor',
|
|
38
|
+
templateUrl: './pin-cursor.component.html',
|
|
39
|
+
styleUrls: ['./pin-cursor.style.less'],
|
|
40
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
41
|
+
}]
|
|
42
|
+
}] });
|
|
43
|
+
|
|
44
|
+
var TuiPinDotComponent = /** @class */ (function () {
|
|
45
|
+
function TuiPinDotComponent() {
|
|
46
|
+
}
|
|
47
|
+
return TuiPinDotComponent;
|
|
48
|
+
}());
|
|
49
|
+
TuiPinDotComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinDotComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
50
|
+
TuiPinDotComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPinDotComponent, selector: "tui-pin-dot,[tuiPinDot]", ngImport: i0__namespace, template: '<ng-content></ng-content>', isInline: true, styles: [":host{width:1rem;height:1rem;border:2px solid var(--tui-base-02);background:var(--tui-primary);border-radius:1rem;box-sizing:border-box;transform-style:preserve-3d}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
51
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinDotComponent, decorators: [{
|
|
52
|
+
type: i0.Component,
|
|
53
|
+
args: [{
|
|
54
|
+
template: '<ng-content></ng-content>',
|
|
55
|
+
selector: 'tui-pin-dot,[tuiPinDot]',
|
|
56
|
+
styleUrls: ['./pin-dot.style.less'],
|
|
57
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
58
|
+
}]
|
|
59
|
+
}] });
|
|
60
|
+
|
|
61
|
+
var TuiPinIconComponent = /** @class */ (function () {
|
|
62
|
+
function TuiPinIconComponent() {
|
|
63
|
+
}
|
|
64
|
+
return TuiPinIconComponent;
|
|
65
|
+
}());
|
|
66
|
+
TuiPinIconComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinIconComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
67
|
+
TuiPinIconComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPinIconComponent, selector: "tui-pin-icon,[tuiPinIcon]", ngImport: i0__namespace, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:flex;min-width:2rem;min-height:2rem;max-height:2rem;border-radius:2rem;box-shadow:0 0 0 2px var(--tui-base-02);background:var(--tui-primary);align-items:center;justify-content:center;color:var(--tui-accent-text);box-sizing:border-box}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
68
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinIconComponent, decorators: [{
|
|
69
|
+
type: i0.Component,
|
|
70
|
+
args: [{
|
|
71
|
+
selector: 'tui-pin-icon,[tuiPinIcon]',
|
|
72
|
+
template: '<ng-content></ng-content>',
|
|
73
|
+
styleUrls: ['./pin-icon.style.less'],
|
|
74
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
75
|
+
}]
|
|
76
|
+
}] });
|
|
77
|
+
|
|
78
|
+
var TuiPinLabelComponent = /** @class */ (function () {
|
|
79
|
+
function TuiPinLabelComponent() {
|
|
80
|
+
}
|
|
81
|
+
return TuiPinLabelComponent;
|
|
82
|
+
}());
|
|
83
|
+
TuiPinLabelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinLabelComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
84
|
+
TuiPinLabelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPinLabelComponent, selector: "tui-pin-label", ngImport: i0__namespace, template: "\n <ng-content select=\"tui-pin-label-title, [tuiPinLabelTitle]\"></ng-content>\n <ng-content select=\"tui-pin-label-subtitle, [tuiPinLabelSubtitle]\"></ng-content>\n ", isInline: true, styles: [":host{margin-right:.75rem;overflow:hidden;text-overflow:ellipsis}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
85
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinLabelComponent, decorators: [{
|
|
86
|
+
type: i0.Component,
|
|
87
|
+
args: [{
|
|
88
|
+
selector: 'tui-pin-label',
|
|
89
|
+
template: "\n <ng-content select=\"tui-pin-label-title, [tuiPinLabelTitle]\"></ng-content>\n <ng-content select=\"tui-pin-label-subtitle, [tuiPinLabelSubtitle]\"></ng-content>\n ",
|
|
90
|
+
styleUrls: ['./pin-label.style.less'],
|
|
91
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
92
|
+
}]
|
|
93
|
+
}] });
|
|
94
|
+
|
|
95
|
+
var TuiPinLabelSubtitleComponent = /** @class */ (function () {
|
|
96
|
+
function TuiPinLabelSubtitleComponent() {
|
|
97
|
+
}
|
|
98
|
+
return TuiPinLabelSubtitleComponent;
|
|
99
|
+
}());
|
|
100
|
+
TuiPinLabelSubtitleComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinLabelSubtitleComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
101
|
+
TuiPinLabelSubtitleComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPinLabelSubtitleComponent, selector: "tui-pin-label-subtitle,[tuiPinLabelSubtitle]", ngImport: i0__namespace, template: '<ng-content></ng-content>', isInline: true, styles: [":host{color:var(--tui-text-02);font-size:.625rem;font-style:normal;font-weight:500;letter-spacing:-.015rem;line-height:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
102
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinLabelSubtitleComponent, decorators: [{
|
|
103
|
+
type: i0.Component,
|
|
104
|
+
args: [{
|
|
105
|
+
selector: 'tui-pin-label-subtitle,[tuiPinLabelSubtitle]',
|
|
106
|
+
template: '<ng-content></ng-content>',
|
|
107
|
+
styleUrls: ['./pin-label-subtitle.style.less'],
|
|
108
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
109
|
+
}]
|
|
110
|
+
}] });
|
|
111
|
+
|
|
112
|
+
var TuiPinLabelTitleComponent = /** @class */ (function () {
|
|
113
|
+
function TuiPinLabelTitleComponent() {
|
|
114
|
+
}
|
|
115
|
+
return TuiPinLabelTitleComponent;
|
|
116
|
+
}());
|
|
117
|
+
TuiPinLabelTitleComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinLabelTitleComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
118
|
+
TuiPinLabelTitleComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPinLabelTitleComponent, selector: "tui-pin-label-title,[tuiPinLabelTitle]", ngImport: i0__namespace, template: '<ng-content></ng-content>', isInline: true, styles: [":host{font-weight:600;line-height:.875rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
119
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinLabelTitleComponent, decorators: [{
|
|
120
|
+
type: i0.Component,
|
|
121
|
+
args: [{
|
|
122
|
+
selector: 'tui-pin-label-title,[tuiPinLabelTitle]',
|
|
123
|
+
template: '<ng-content></ng-content>',
|
|
124
|
+
styleUrls: ['./pin-label-title.style.less'],
|
|
125
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
126
|
+
}]
|
|
127
|
+
}] });
|
|
128
|
+
|
|
129
|
+
var TuiPinComponent = /** @class */ (function () {
|
|
130
|
+
function TuiPinComponent() {
|
|
131
|
+
}
|
|
132
|
+
return TuiPinComponent;
|
|
133
|
+
}());
|
|
134
|
+
TuiPinComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
135
|
+
TuiPinComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPinComponent, selector: "tui-pin", ngImport: i0__namespace, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:flex;min-width:2.25rem;min-height:2.25rem;align-items:center;justify-content:center;grid-gap:.375rem;gap:.375rem;box-sizing:border-box;border-radius:2rem;font-size:.75rem;font-style:normal;font-weight:600;line-height:.875rem;white-space:nowrap;max-width:11.25rem}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
136
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinComponent, decorators: [{
|
|
137
|
+
type: i0.Component,
|
|
138
|
+
args: [{
|
|
139
|
+
selector: 'tui-pin',
|
|
140
|
+
template: '<ng-content></ng-content>',
|
|
141
|
+
styleUrls: ['./pin.style.less'],
|
|
142
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
143
|
+
}]
|
|
144
|
+
}] });
|
|
145
|
+
|
|
146
|
+
var TuiPinSelectedComponent = /** @class */ (function () {
|
|
147
|
+
function TuiPinSelectedComponent() {
|
|
148
|
+
}
|
|
149
|
+
return TuiPinSelectedComponent;
|
|
150
|
+
}());
|
|
151
|
+
TuiPinSelectedComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinSelectedComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
152
|
+
TuiPinSelectedComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPinSelectedComponent, selector: "tui-pin-selected", ngImport: i0__namespace, template: "<div class=\"t-pin-selected-area\">\n <div class=\"t-pin-selected-icon\">\n <ng-content select=\"tui-pin-icon, [tuiPinIcon]\"></ng-content>\n </div>\n <svg\n fill=\"none\"\n height=\"66\"\n viewBox=\"0 0 60 66\"\n width=\"60\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-pin-selected-cover\"\n >\n <!--suppress AngularUndefinedTag -->\n <path\n clip-rule=\"evenodd\"\n d=\"M30.0002 0C13.4313 0 0 13.4726 0 30.0917C0 43.5901 9.46433 56.0206 22.6199 59.2986C27.481 60.5551 28.9938 65.275 28.9938 65.275C29.147 65.697 29.5453 66 30.0183 66C30.4909 66 30.8892 65.697 31.0408 65.275C31.0408 65.275 32.5552 60.5551 37.4162 59.2986C50.4927 56.0529 60 44.2105 60 30.0917C60 13.4726 46.5687 0 30.0002 0Z\"\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n />\n </svg>\n</div>\n\n<ng-content select=\"tui-pin-dot, [tuiPinDot]\"></ng-content>\n", styles: [":host{display:flex;flex-direction:column;align-items:center;grid-gap:.1875rem;gap:.1875rem;color:var(--tui-primary)}:host ::ng-deep>tui-pin-dot,:host ::ng-deep>[tuiPinDot]{background:var(--tui-primary);width:.625rem;height:.625rem}.t-pin-selected-area{position:relative;width:3.75rem;height:4.125rem}.t-pin-selected-icon{display:flex;height:3.25rem;width:3.25rem;align-items:center;justify-content:center;margin:.25rem}.t-pin-selected-icon ::ng-deep>tui-pin-icon,.t-pin-selected-icon ::ng-deep>[tuiPinIcon]{width:100%;height:100%;max-height:100%;font-size:1rem;font-style:normal;font-weight:500;line-height:normal}.t-pin-selected-cover{position:absolute;top:0;z-index:-1}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
153
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinSelectedComponent, decorators: [{
|
|
154
|
+
type: i0.Component,
|
|
155
|
+
args: [{
|
|
156
|
+
selector: 'tui-pin-selected',
|
|
157
|
+
templateUrl: './pin-selected.component.html',
|
|
158
|
+
styleUrls: ['./pin-selected.style.less'],
|
|
159
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
160
|
+
}]
|
|
161
|
+
}] });
|
|
162
|
+
|
|
163
|
+
var TuiPinModule = /** @class */ (function () {
|
|
164
|
+
function TuiPinModule() {
|
|
165
|
+
}
|
|
166
|
+
return TuiPinModule;
|
|
167
|
+
}());
|
|
168
|
+
TuiPinModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
169
|
+
TuiPinModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinModule, declarations: [TuiPinComponent,
|
|
170
|
+
TuiPinSelectedComponent,
|
|
171
|
+
TuiPinIconComponent,
|
|
172
|
+
TuiPinDotComponent,
|
|
173
|
+
TuiPinLabelComponent,
|
|
174
|
+
TuiPinLabelTitleComponent,
|
|
175
|
+
TuiPinLabelSubtitleComponent,
|
|
176
|
+
TuiPinCursorComponent], exports: [TuiPinComponent,
|
|
177
|
+
TuiPinSelectedComponent,
|
|
178
|
+
TuiPinIconComponent,
|
|
179
|
+
TuiPinDotComponent,
|
|
180
|
+
TuiPinLabelComponent,
|
|
181
|
+
TuiPinLabelTitleComponent,
|
|
182
|
+
TuiPinLabelSubtitleComponent,
|
|
183
|
+
TuiPinCursorComponent] });
|
|
184
|
+
TuiPinModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinModule });
|
|
185
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPinModule, decorators: [{
|
|
186
|
+
type: i0.NgModule,
|
|
187
|
+
args: [{
|
|
188
|
+
declarations: [
|
|
189
|
+
TuiPinComponent,
|
|
190
|
+
TuiPinSelectedComponent,
|
|
191
|
+
TuiPinIconComponent,
|
|
192
|
+
TuiPinDotComponent,
|
|
193
|
+
TuiPinLabelComponent,
|
|
194
|
+
TuiPinLabelTitleComponent,
|
|
195
|
+
TuiPinLabelSubtitleComponent,
|
|
196
|
+
TuiPinCursorComponent,
|
|
197
|
+
],
|
|
198
|
+
exports: [
|
|
199
|
+
TuiPinComponent,
|
|
200
|
+
TuiPinSelectedComponent,
|
|
201
|
+
TuiPinIconComponent,
|
|
202
|
+
TuiPinDotComponent,
|
|
203
|
+
TuiPinLabelComponent,
|
|
204
|
+
TuiPinLabelTitleComponent,
|
|
205
|
+
TuiPinLabelSubtitleComponent,
|
|
206
|
+
TuiPinCursorComponent,
|
|
207
|
+
],
|
|
208
|
+
}]
|
|
209
|
+
}] });
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Generated bundle index. Do not edit.
|
|
213
|
+
*/
|
|
214
|
+
|
|
215
|
+
exports.TuiPinComponent = TuiPinComponent;
|
|
216
|
+
exports.TuiPinCursorComponent = TuiPinCursorComponent;
|
|
217
|
+
exports.TuiPinDotComponent = TuiPinDotComponent;
|
|
218
|
+
exports.TuiPinIconComponent = TuiPinIconComponent;
|
|
219
|
+
exports.TuiPinLabelComponent = TuiPinLabelComponent;
|
|
220
|
+
exports.TuiPinLabelSubtitleComponent = TuiPinLabelSubtitleComponent;
|
|
221
|
+
exports.TuiPinLabelTitleComponent = TuiPinLabelTitleComponent;
|
|
222
|
+
exports.TuiPinModule = TuiPinModule;
|
|
223
|
+
exports.TuiPinSelectedComponent = TuiPinSelectedComponent;
|
|
224
|
+
|
|
225
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
226
|
+
|
|
227
|
+
}));
|
|
228
|
+
//# sourceMappingURL=taiga-ui-experimental-components-pin.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taiga-ui-experimental-components-pin.umd.js","sources":["../../../projects/experimental/components/pin/cursor/pin-cursor.component.ts","../../../projects/experimental/components/pin/cursor/pin-cursor.component.html","../../../projects/experimental/components/pin/dot/pin-dot.component.ts","../../../projects/experimental/components/pin/icon/pin-icon.component.ts","../../../projects/experimental/components/pin/label/pin-label.component.ts","../../../projects/experimental/components/pin/label/pin-label-subtitle.component.ts","../../../projects/experimental/components/pin/label/pin-label-title.component.ts","../../../projects/experimental/components/pin/pin.component.ts","../../../projects/experimental/components/pin/selected/pin-selected.component.ts","../../../projects/experimental/components/pin/selected/pin-selected.component.html","../../../projects/experimental/components/pin/pin.module.ts","../../../projects/experimental/components/pin/taiga-ui-experimental-components-pin.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component} from '@angular/core';\n\n@Component({\n selector: 'tui-pin-cursor',\n templateUrl: './pin-cursor.component.html',\n styleUrls: ['./pin-cursor.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiPinCursorComponent {}\n","<svg\n fill=\"none\"\n height=\"9\"\n viewBox=\"0 0 12 9\"\n width=\"12\"\n xmlns=\"http://www.w3.org/2000/svg\"\n>\n <!--suppress AngularUndefinedTag -->\n <path\n d=\"M0 8.99993C4 8 8 8 12 8.99993C9.91509 5.73239 8.5 3 6 0C3.5 3 2 5.5 0 8.99993Z\"\n fill=\"currentColor\"\n />\n</svg>\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\n\n@Component({\n template: '<ng-content></ng-content>',\n selector: 'tui-pin-dot,[tuiPinDot]',\n styleUrls: ['./pin-dot.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiPinDotComponent {}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\n\n@Component({\n selector: 'tui-pin-icon,[tuiPinIcon]',\n template: '<ng-content></ng-content>',\n styleUrls: ['./pin-icon.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiPinIconComponent {}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\n\n@Component({\n selector: 'tui-pin-label',\n template: `\n <ng-content select=\"tui-pin-label-title, [tuiPinLabelTitle]\"></ng-content>\n <ng-content select=\"tui-pin-label-subtitle, [tuiPinLabelSubtitle]\"></ng-content>\n `,\n styleUrls: ['./pin-label.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiPinLabelComponent {}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\n\n@Component({\n selector: 'tui-pin-label-subtitle,[tuiPinLabelSubtitle]',\n template: '<ng-content></ng-content>',\n styleUrls: ['./pin-label-subtitle.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiPinLabelSubtitleComponent {}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\n\n@Component({\n selector: 'tui-pin-label-title,[tuiPinLabelTitle]',\n template: '<ng-content></ng-content>',\n styleUrls: ['./pin-label-title.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiPinLabelTitleComponent {}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\n\n@Component({\n selector: 'tui-pin',\n template: '<ng-content></ng-content>',\n styleUrls: ['./pin.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiPinComponent {}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\n\n@Component({\n selector: 'tui-pin-selected',\n templateUrl: './pin-selected.component.html',\n styleUrls: ['./pin-selected.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiPinSelectedComponent {}\n","<div class=\"t-pin-selected-area\">\n <div class=\"t-pin-selected-icon\">\n <ng-content select=\"tui-pin-icon, [tuiPinIcon]\"></ng-content>\n </div>\n <svg\n fill=\"none\"\n height=\"66\"\n viewBox=\"0 0 60 66\"\n width=\"60\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-pin-selected-cover\"\n >\n <!--suppress AngularUndefinedTag -->\n <path\n clip-rule=\"evenodd\"\n d=\"M30.0002 0C13.4313 0 0 13.4726 0 30.0917C0 43.5901 9.46433 56.0206 22.6199 59.2986C27.481 60.5551 28.9938 65.275 28.9938 65.275C29.147 65.697 29.5453 66 30.0183 66C30.4909 66 30.8892 65.697 31.0408 65.275C31.0408 65.275 32.5552 60.5551 37.4162 59.2986C50.4927 56.0529 60 44.2105 60 30.0917C60 13.4726 46.5687 0 30.0002 0Z\"\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n />\n </svg>\n</div>\n\n<ng-content select=\"tui-pin-dot, [tuiPinDot]\"></ng-content>\n","import {NgModule} from '@angular/core';\n\nimport {TuiPinCursorComponent} from './cursor/pin-cursor.component';\nimport {TuiPinDotComponent} from './dot/pin-dot.component';\nimport {TuiPinIconComponent} from './icon/pin-icon.component';\nimport {TuiPinLabelComponent} from './label/pin-label.component';\nimport {TuiPinLabelSubtitleComponent} from './label/pin-label-subtitle.component';\nimport {TuiPinLabelTitleComponent} from './label/pin-label-title.component';\nimport {TuiPinComponent} from './pin.component';\nimport {TuiPinSelectedComponent} from './selected/pin-selected.component';\n\n@NgModule({\n declarations: [\n TuiPinComponent,\n TuiPinSelectedComponent,\n TuiPinIconComponent,\n TuiPinDotComponent,\n TuiPinLabelComponent,\n TuiPinLabelTitleComponent,\n TuiPinLabelSubtitleComponent,\n TuiPinCursorComponent,\n ],\n exports: [\n TuiPinComponent,\n TuiPinSelectedComponent,\n TuiPinIconComponent,\n TuiPinDotComponent,\n TuiPinLabelComponent,\n TuiPinLabelTitleComponent,\n TuiPinLabelSubtitleComponent,\n TuiPinCursorComponent,\n ],\n})\nexport class TuiPinModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i0","Component","ChangeDetectionStrategy","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,YAAA,qBAAA,kBAAA,YAAA;QAAA,IAAA,SAAA,qBAAA,GAAA;;;;iJAAa,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAA,aAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;QAArB,qBAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,qBAAqB,iECRlC,wUAaA,EAAA,MAAA,EAAA,CAAA,2FAAA,CAAA,EAAA,eAAA,EAAAA,aAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;0HDLa,qBAAqB,EAAA,UAAA,EAAA,CAAA;0BANjCC,YAAS;QAAC,YAAA,IAAA,EAAA,CAAA;QACP,oBAAA,QAAQ,EAAE,gBAAgB;QAC1B,oBAAA,WAAW,EAAE,6BAA6B;4BAC1C,SAAS,EAAE,CAAC,yBAAyB,CAAC;4BACtC,eAAe,EAAEC,0BAAuB,CAAC,MAAM;yBAClD,CAAA;;;AECD,YAAA,kBAAA,kBAAA,YAAA;QAAA,IAAA,SAAA,kBAA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AA;QAAA,IAAA,SAAA,YAAA,GAAA;;;;wIAAa,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAF,aAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;QAAZ,YAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,YAAY,iBApBjB,eAAe;gBACf,uBAAuB;gBACvB,mBAAmB;gBACnB,kBAAkB;gBAClB,oBAAoB;gBACpB,yBAAyB;gBACzB,4BAA4B;QAC5B,QAAA,qBAAqB,aAGrB,eAAe;gBACf,uBAAuB;gBACvB,mBAAmB;gBACnB,kBAAkB;gBAClB,oBAAoB;gBACpB,yBAAyB;gBACzB,4BAA4B;gBAC5B,qBAAqB,CAAA,EAAA,CAAA,CAAA;yIAGhB,YAAY,EAAA,CAAA,CAAA;0HAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;0BAtBxBG,WAAQ;QAAC,YAAA,IAAA,EAAA,CAAA;QACN,oBAAA,YAAY,EAAE;gCACV,eAAe;gCACf,uBAAuB;gCACvB,mBAAmB;gCACnB,kBAAkB;gCAClB,oBAAoB;gCACpB,yBAAyB;gCACzB,4BAA4B;gCAC5B,qBAAqB;QACxB,qBAAA;QACD,oBAAA,OAAO,EAAE;gCACL,eAAe;gCACf,uBAAuB;gCACvB,mBAAmB;gCACnB,kBAAkB;gCAClB,oBAAoB;gCACpB,yBAAyB;gCACzB,4BAA4B;gCAC5B,qBAAqB;QACxB,qBAAA;yBACJ,CAAA;;;QChCD;;QAEG;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/experimental/components/avatar'), require('@taiga-ui/experimental/components/avatar-stack'), require('@taiga-ui/experimental/components/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/experimental/components', ['exports', '@taiga-ui/experimental/components/avatar', '@taiga-ui/experimental/components/avatar-stack', '@taiga-ui/experimental/components/
|
|
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.avatar, global["taiga-ui"].experimental.components["avatar-stack"], global["taiga-ui"].experimental.components.
|
|
5
|
-
})(this, (function (exports, avatar, avatarStack,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/experimental/components/avatar'), require('@taiga-ui/experimental/components/avatar-stack'), require('@taiga-ui/experimental/components/fade'), require('@taiga-ui/experimental/components/pin')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/experimental/components', ['exports', '@taiga-ui/experimental/components/avatar', '@taiga-ui/experimental/components/avatar-stack', '@taiga-ui/experimental/components/fade', '@taiga-ui/experimental/components/pin'], 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.avatar, global["taiga-ui"].experimental.components["avatar-stack"], global["taiga-ui"].experimental.components.fade, global["taiga-ui"].experimental.components.pin));
|
|
5
|
+
})(this, (function (exports, avatar, avatarStack, fade, pin) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Generated bundle index. Do not edit.
|
|
@@ -20,10 +20,16 @@
|
|
|
20
20
|
get: function () { return avatarStack[k]; }
|
|
21
21
|
});
|
|
22
22
|
});
|
|
23
|
-
Object.keys(
|
|
23
|
+
Object.keys(fade).forEach(function (k) {
|
|
24
24
|
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return fade[k]; }
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
Object.keys(pin).forEach(function (k) {
|
|
30
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return pin[k]; }
|
|
27
33
|
});
|
|
28
34
|
});
|
|
29
35
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-components.umd.js","sources":["../../../projects/experimental/components/taiga-ui-experimental-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;CAEG
|
|
1
|
+
{"version":3,"file":"taiga-ui-experimental-components.umd.js","sources":["../../../projects/experimental/components/taiga-ui-experimental-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;CAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { SafeResourceUrl } from '@angular/platform-browser';
|
|
1
2
|
import { TuiSizeL, TuiSizeS } from '@taiga-ui/core';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class TuiAvatarComponent {
|
|
4
5
|
size: TuiSizeL | TuiSizeS;
|
|
5
6
|
round: boolean;
|
|
6
|
-
src: string | null;
|
|
7
|
+
src: SafeResourceUrl | string | null;
|
|
7
8
|
get img(): boolean;
|
|
8
|
-
get value(): string;
|
|
9
|
+
get value(): SafeResourceUrl | string;
|
|
9
10
|
get type(): 'content' | 'icon' | 'img' | 'text';
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAvatarComponent, never>;
|
|
11
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAvatarComponent, "tui-avatar", never, { "size": "size"; "round": "round"; "src": "src"; }, {}, never, ["*"]>;
|
|
@@ -4,9 +4,9 @@ import * as i2 from "@angular/common";
|
|
|
4
4
|
import * as i3 from "@taiga-ui/core";
|
|
5
5
|
import * as i4 from "@taiga-ui/kit";
|
|
6
6
|
import * as i5 from "@taiga-ui/experimental/pipes";
|
|
7
|
-
import * as i6 from "@taiga-ui/experimental/components/
|
|
7
|
+
import * as i6 from "@taiga-ui/experimental/components/fade";
|
|
8
8
|
export declare class TuiAvatarModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAvatarModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiAvatarModule, [typeof i1.TuiAvatarComponent], [typeof i2.CommonModule, typeof i3.TuiSvgModule, typeof i4.TuiLazyLoadingModule, typeof i5.TuiFallbackSrcModule, typeof i6.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiAvatarModule, [typeof i1.TuiAvatarComponent], [typeof i2.CommonModule, typeof i3.TuiSvgModule, typeof i4.TuiLazyLoadingModule, typeof i5.TuiFallbackSrcModule, typeof i6.TuiFadeModule], [typeof i1.TuiAvatarComponent, typeof i5.TuiFallbackSrcPipe]>;
|
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiAvatarModule>;
|
|
12
12
|
}
|